1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Handle submodules without a .gitmodules entry - fix #1023

This commit is contained in:
Filippo Valsorda
2015-03-10 03:08:17 +00:00
parent 5e763baa12
commit 5d5d774e03
4 changed files with 15 additions and 3 deletions

View File

@@ -39,7 +39,11 @@
<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>
{{else}}
{{$entry.Name}} @ {{ShortSha $commit.RefId}}
{{end}}
</td>
{{else}}
<td class="icon">