summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-07-04 01:23:11 -0400
committerUnknown <joe2010xtmf@163.com>2014-07-04 01:23:11 -0400
commitcdffdeddc90a69e88fab92487ff5ccf90eb47c08 (patch)
tree13669ab33280da25770d648c3775ae74fe8bcf58 /templates
parent465dc962b5e1febdfc988419d4d03e98f777019f (diff)
downloadgitea-cdffdeddc90a69e88fab92487ff5ccf90eb47c08.tar.gz
gitea-cdffdeddc90a69e88fab92487ff5ccf90eb47c08.zip
Fix bug that collaborators are able to modify settings of repository
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/toolbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl
index e2652ee829..6357b3c4c0 100644
--- a/templates/repo/toolbar.tmpl
+++ b/templates/repo/toolbar.tmpl
@@ -35,7 +35,7 @@
<li><a href="#">Pulse</a></li>
<li><a href="#">Network</a></li>
</ul>
- </li> -->{{end}}{{if .IsRepositoryOwner}}
+ </li> -->{{end}}{{if .IsRepositoryTrueOwner}}
<li class="{{if .IsRepoToolbarSetting}}active{{end}}"><a href="{{.RepoLink}}/settings">Settings</a>
</li>{{end}}
</ul>