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:
@@ -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">
|
||||
|
Reference in New Issue
Block a user