aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-13 23:16:58 -0500
committerUnknwon <u@gogs.io>2015-12-13 23:16:58 -0500
commitea375c0dcca118c8ac3c48ba569b025836ad5ccf (patch)
treec98d8c3b631cfe7466216dfea24a172116abfd72 /templates/repo/view_list.tmpl
parent7509fa2c33b6eeff20091a4c6883c006d99b3425 (diff)
downloadgitea-ea375c0dcca118c8ac3c48ba569b025836ad5ccf.tar.gz
gitea-ea375c0dcca118c8ac3c48ba569b025836ad5ccf.zip
new template func
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl2
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}}