diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 36467e9..b4622eb 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -6,73 +6,79 @@ */}} -
.. | +
.. | -||
- - {{$refURL := $commit.RefURL AppUrl $.BranchLink}} - {{if $refURL}} - {{$entry.Name}} @ {{ShortSha $commit.RefID}} - {{else}} - {{$entry.Name}} @ {{ShortSha $commit.RefID}} - {{end}} - | - {{else}} -- {{if $entry.IsDir}} - {{$subJumpablePathName := $entry.GetSubJumpablePathName}} - {{$subJumpablePath := SubJumpablePath $subJumpablePathName}} - - - {{if eq (len $subJumpablePath) 2}} - {{index $subJumpablePath 0}}{{index $subJumpablePath 1}} - {{else}} - {{index $subJumpablePath 0}} - {{end}} - - {{else}} - - {{$entry.Name}} - {{end}} - | - {{end}} -{{TimeSince $commit.Committer.When $.Lang}} | -