workaround for reverse proxy, ssh, submodule

This commit is contained in:
Matthias Pioch
2015-10-24 22:03:08 +02:00
parent 71d8ff247d
commit 78a4e71245
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -39,8 +39,8 @@
<span class="octicon octicon-file-submodule"></span>
</td>
<td class="name">
{{if $commit.RefUrl}}
<a href="{{$commit.RefUrl}}" class="text-truncate">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a>
{{if $commit.RefUrl AppUrl}}
<a href="{{$commit.RefUrl AppUrl}}" class="text-truncate">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl AppUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a>
{{else}}
{{$entry.Name}} @ {{ShortSha $commit.RefId}}
{{end}}