aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/sidebar.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-29 04:04:48 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-29 04:04:48 -0400
commit3cfa4a581ca3cf3cb5e5105725d77f4c594de478 (patch)
tree0f2f065f090e286eaec08be41204370522debdff /templates/repo/sidebar.tmpl
parentce6931a046423bb0ef6420c9df670315446153bd (diff)
downloadgitea-3cfa4a581ca3cf3cb5e5105725d77f4c594de478.tar.gz
gitea-3cfa4a581ca3cf3cb5e5105725d77f4c594de478.zip
Bug: 500 when transfer repository to collaborator
Diffstat (limited to 'templates/repo/sidebar.tmpl')
-rw-r--r--templates/repo/sidebar.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl
index d43e36063d..7a00dbb8c3 100644
--- a/templates/repo/sidebar.tmpl
+++ b/templates/repo/sidebar.tmpl
@@ -20,9 +20,11 @@
<!-- <li>
<a class="radius" href="#"><i class="octicon octicon-organization"></i>contributors <span class="num right label label-gray label-radius">43</span></a>
</li> -->
+ {{if .IsRepositoryTrueOwner}}
<li class="border-bottom"></li>
<li>
<a class="radius" href="{{.RepoLink}}/settings"><i class="octicon octicon-tools"></i>{{.i18n.Tr "repo.settings"}}</a>
</li>
+ {{end}}
</ul>
</div> \ No newline at end of file