From 2e3c3103c48c748ccc8fa6b3607d51f112a9400f Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Dec 2022 12:18:43 +0530 Subject: log: cleaner view --- templates/log.html | 6 ++++-- templates/repo.html | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/log.html b/templates/log.html index bc028b3..4e592b6 100644 --- a/templates/log.html +++ b/templates/log.html @@ -15,10 +15,12 @@ {{ range .commits }}
{{ slice .Hash.String 0 8 }}
-
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ .Message }}
-
{{ .Author.Name }} {{ .Author.Email }}
+
+ {{ .Author.Name }} {{ .Author.Email }} +
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ end }} diff --git a/templates/repo.html b/templates/repo.html index 2e87b07..687cafe 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -17,12 +17,15 @@ {{ range .commits }}
{{ slice .Hash.String 0 8 }}
-
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ .Message }}
-
{{ .Author.Name }} {{ .Author.Email }}
+
+ {{ .Author.Name }} {{ .Author.Email }} +
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
+
{{ end }} +
           {{- if .readme }}{{ .readme }}{{- end -}}
-- 
cgit