aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/single.tmpl
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-03-25 18:35:15 +0800
committerskyblue <ssx205@gmail.com>2014-03-25 18:35:15 +0800
commitf0352789cd1e5c3ee35ed685e29421f0bc02f336 (patch)
treee3c0454dcba62f689221d5a97efcef342c06ffd2 /templates/repo/single.tmpl
parent7048ea45279cd96f88845d83fe7cef6fbb545fcf (diff)
parent4e88ae19d1e2e91e4d3168304c06fcbce73c31bf (diff)
downloadgitea-f0352789cd1e5c3ee35ed685e29421f0bc02f336.tar.gz
gitea-f0352789cd1e5c3ee35ed685e29421f0bc02f336.zip
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'templates/repo/single.tmpl')
-rw-r--r--templates/repo/single.tmpl2
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}}&nbsp;&nbsp;
<b class="caret"></b></a>