all repos — elgit @ 2e3c3103c48c748ccc8fa6b3607d51f112a9400f

fork of legit: web frontend for git, written in go

log: cleaner view

commit

2e3c3103c48c748ccc8fa6b3607d51f112a9400f

parent

8f8f205ce5c806d0753b76de1dc0e2e135578437

1 file changed, 5 insertions(+), 2 deletions(-)

changed files
M templates/repo.htmltemplates/repo.html
@@ -17,12 +17,15 @@ <div class="log">
{{ range .commits }} <div> <div><a href="/{{ $repo }}/commit/{{ .Hash.String }}">{{ slice .Hash.String 0 8 }}</a></div> + <pre>{{ .Message }}</pre> + </div> + <div class="commit-info"> + {{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span> <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> - <pre>{{ .Message }}</pre> </div> - <div class="commit-info">{{ .Author.Name }} <span class="commit-email">{{ .Author.Email }}</span></div> {{ end }} </div> + <article class="readme"> <pre> {{- if .readme }}{{ .readme }}{{- end -}}