Fix submodule paths when AppSubUrl is not root (#11098)
Fix submodule paths when AppSubUrl is not root Fix #11002 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
7e20f1cb5b
commit
4ee70a9ec9
3 changed files with 27 additions and 30 deletions
|
@ -64,7 +64,7 @@
|
|||
<td>
|
||||
<span class="truncate">
|
||||
{{svg "octicon-file-submodule" 16}}
|
||||
{{$refURL := $commit.RefURL AppUrl $.BranchLink}}
|
||||
{{$refURL := $commit.RefURL AppUrl $.Repository.FullName}}
|
||||
{{if $refURL}}
|
||||
<a href="{{$refURL}}">{{$entry.Name}}</a> @ <a href="{{$refURL}}/commit/{{$commit.RefID}}">{{ShortSha $commit.RefID}}</a>
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue