diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 23:53:26 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 23:53:26 +0800 |
commit | 92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4 (patch) | |
tree | cc0001ffdbd4f2ce988551b58cc06e13a94a608a /templates/repo/single.tmpl | |
parent | 67b43387f44b9e3a03f471d0782bfae34a9b9357 (diff) | |
download | gitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.tar.gz gitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.zip |
zip download button, repo single file buttons
Diffstat (limited to 'templates/repo/single.tmpl')
-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 a1c3cfbb26..56e6746c76 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -9,7 +9,7 @@ {{else}} <div class="source-toolbar"> {{ $n := len .Treenames}} - {{if not .IsFile}}<button class="btn btn-default pull-right"><i class="fa fa-plus-square"></i>Add File</button>{{end}} + {{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>{{.Branchname}} <b class="caret"></b></a> |