diff options
author | slene <vslene@gmail.com> | 2014-03-30 17:09:19 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-30 17:09:19 +0800 |
commit | b1627672f9b45047976f498fe618995361e9ff35 (patch) | |
tree | f3e60f3608a4a95a15b1507aef108d6daffb5965 /templates/repo | |
parent | 4c70249f75a8fd2a7962c9c6c0d6fec13e7f2192 (diff) | |
download | gitea-b1627672f9b45047976f498fe618995361e9ff35.tar.gz gitea-b1627672f9b45047976f498fe618995361e9ff35.zip |
fix link
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/single.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 0bf7b0aaf2..7ee6b0cafe 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -8,7 +8,7 @@ {{ $n := len .Treenames}} {{if not .IsFile}}<button class="btn btn-default pull-right hidden"><i class="fa fa-plus-square"></i>Add File</button>{{end}} <div class="dropdown branch-switch"> - <a href="#" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-chain"></i>{{if .CommitId}}{{ShortSha .CommitId}}{{else}}{{.BranchName}}{{end}} + <a href="#" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-chain"></i>{{if .IsBranch}}{{.BranchName}}{{else}}{{ShortSha .CommitId}}{{end}} <b class="caret"></b></a> <ul class="dropdown-menu"> {{range .Branches}} |