diff options
author | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
commit | a576224d0ea0a6a48207002229ae38937bd038a3 (patch) | |
tree | 479bb167651a1301ca71b7175078c1e1be1336c0 /templates/repo/view_file.tmpl | |
parent | 989f30eb416f2d8709aaff9c235d555f8b109e36 (diff) | |
download | gitea-a576224d0ea0a6a48207002229ae38937bd038a3.tar.gz gitea-a576224d0ea0a6a48207002229ae38937bd038a3.zip |
unified name: IsViewBranch, IsViewCommit and IsViewTag
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index cf6198195a..021a62f1d1 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -14,7 +14,7 @@ {{if not .ReadmeInList}} <div class="ui right"> <div class="ui small grey basic buttons"> - {{if not .IsCommit}} + {{if not .IsViewCommit}} <a class="ui button" href="{{.RepoLink}}/src/{{.CommitID}}/{{EscapePound .TreeName}}">{{.i18n.Tr "repo.file_permalink"}}</a> {{end}} <a class="ui button" href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}/{{EscapePound .TreeName}}">{{.i18n.Tr "repo.file_history"}}</a> |