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/home.tmpl | |
parent | 989f30eb416f2d8709aaff9c235d555f8b109e36 (diff) | |
download | gitea-a576224d0ea0a6a48207002229ae38937bd038a3.tar.gz gitea-a576224d0ea0a6a48207002229ae38937bd038a3.zip |
unified name: IsViewBranch, IsViewCommit and IsViewTag
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 12820e46b3..ccbe6639cf 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -39,14 +39,14 @@ </span> </a> <a class="reference column" href="#" data-target="#tag-list"> - <span class="text {{if .IsTag}}black{{end}}"> + <span class="text {{if .IsViewTag}}black{{end}}"> <i class="reference tags icon"></i> {{.i18n.Tr "repo.tags"}} </span> </a> </div> </div> </div> - <div id="branch-list" class="scrolling menu" {{if .IsTag}}style="display: none"{{end}}> + <div id="branch-list" class="scrolling menu" {{if .IsViewTag}}style="display: none"{{end}}> {{range .Branches}} <div class="item {{if eq $.BranchName .}}selected{{end}}" data-url="{{$.RepoLink}}/src/{{EscapePound .}}">{{.}}</div> {{end}} |