diff options
author | Unknwon <u@gogs.io> | 2016-01-14 14:41:13 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-14 14:41:13 +0800 |
commit | cb92af4a6c7bc7090ecaed8dc99e89c45bce697c (patch) | |
tree | 49d42de17e0f348c6470c2e0ee8705208e871e6a | |
parent | ae2c6d42fdaef39108d65c34ce314abdddf2674f (diff) | |
parent | 41fdaabcf7e060c057272ef845842011ca637bfc (diff) | |
download | gitea-cb92af4a6c7bc7090ecaed8dc99e89c45bce697c.tar.gz gitea-cb92af4a6c7bc7090ecaed8dc99e89c45bce697c.zip |
Merge pull request #2398 from nanoant/patch/fix-refurl-arg
commit.RefUrl expects AppUrl argument
-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 d88d7b5597..b3dee5610f 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -31,7 +31,7 @@ <td> <span class="icon octicon octicon-file-submodule"></span> {{if $commit.RefUrl AppUrl}} - <a href="{{$commit.RefUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a> + <a href="{{$commit.RefUrl AppUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl AppUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a> {{else}} {{$entry.Name}} @ {{ShortSha $commit.RefId}} {{end}} |