all repos — legit @ 86eb64311cb85fddcef842f496a8b2e80c7f125b

legit - simple git web interface in go (fork)

templates: improve this & parent commit
Anirudh Oppiliappan x@icyphox.sh
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE/huPz+bBYiLxVxyOipP5b3jF1MQFAmOj6zAACgkQipP5b3jF
1MRAvwf+I+prtIHRPYyTGDDlHgPQsxy7jycc2engS8zd4ul45TcXTBjIzyaJk4J6
ij1nYLGg2d5De/cEJmerU9xoyT4JFonloxqOKY7IO6kIhJUxnZe0SkLrl7qR7MQt
zOAJKms/6sYhZv1kp9z1t3Jvep6vLXqdICVVT/w7dkBNXUIqH/5tCdcJcjjxOeRK
429xC+lpSnXkAf7UmBnm1bsMyR4e0Sk39te0GFgmMIBu2pOCCBDDUCx2/e2PKsh0
+aVU01fYUbkGhXaZFBS9conMhYhmUy1eWCihEHHr9x2/IwvYuqw4rS1jhjd9r+f4
fivk3mAo508tWBFOe0y+3X7YtrY6AA==
=sCUt
-----END PGP SIGNATURE-----
commit

86eb64311cb85fddcef842f496a8b2e80c7f125b

parent

1375740735b2085d638b53d116c9efeb199ed4d6

1 files changed, 11 insertions(+), 4 deletions(-)

jump to
M templates/commit.htmltemplates/commit.html

@@ -15,16 +15,23 @@ {{ .commit.Author.Name }} <span class="commit-email">{{ .commit.Author.Email}}</span>

<div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> </div> - <p>commit: <a href="/{{ .name }}/commit/{{ .commit.This }}"> + <div> + <strong>commit</strong> + <p><a href="/{{ .name }}/commit/{{ .commit.This }}"> {{ .commit.This }} </a> </p> + </div> + {{ if .commit.Parent }} - <p>parent: <a href="/{{ .name }}/commit/{{ .commit.Parent }}"> + <div> + <strong>parent</strong> + <p><a href="/{{ .name }}/commit/{{ .commit.Parent }}"> {{ .commit.Parent }} - </a> + </a></p> + </div> + {{ end }} - </p> <div class="diff-stat"> <div> {{ .stat.FilesChanged }} files changed,