diff options
author | Unknown <joe2010xtmf@163.com> | 2014-07-04 01:23:11 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-07-04 01:23:11 -0400 |
commit | cdffdeddc90a69e88fab92487ff5ccf90eb47c08 (patch) | |
tree | 13669ab33280da25770d648c3775ae74fe8bcf58 /templates | |
parent | 465dc962b5e1febdfc988419d4d03e98f777019f (diff) | |
download | gitea-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.tmpl | 2 |
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> |