diff options
author | Unknwon <u@gogs.io> | 2015-12-13 23:16:58 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-13 23:16:58 -0500 |
commit | ea375c0dcca118c8ac3c48ba569b025836ad5ccf (patch) | |
tree | c98d8c3b631cfe7466216dfea24a172116abfd72 /templates/repo/view_list.tmpl | |
parent | 7509fa2c33b6eeff20091a4c6883c006d99b3425 (diff) | |
download | gitea-ea375c0dcca118c8ac3c48ba569b025836ad5ccf.tar.gz gitea-ea375c0dcca118c8ac3c48ba569b025836ad5ccf.zip |
new template func
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index d94dc96e25..d88d7b5597 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -30,7 +30,7 @@ {{if $entry.IsSubModule}} <td> <span class="icon octicon octicon-file-submodule"></span> - {{if $commit.RefUrl}} + {{if $commit.RefUrl AppUrl}} <a href="{{$commit.RefUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a> {{else}} {{$entry.Name}} @ {{ShortSha $commit.RefId}} |