all repos — elgit @ 2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb

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

css: add bg to readme/file content

commit

2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb

parent

d1a2847a266f344911bb791d083b72529cf90c63

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

changed files
M templates/commit.htmltemplates/commit.html
@@ -49,8 +49,11 @@ {{ range .diff }}
<div class="diff"> <div id="{{ .Name.New }}"> {{ if .Name.Old }} - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> &#8594; - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> + {{ if .Name.New }} + &#8594; + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> + {{ end }} {{ else }} <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> {{- end -}}