diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-29 04:04:48 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-29 04:04:48 -0400 |
commit | 3cfa4a581ca3cf3cb5e5105725d77f4c594de478 (patch) | |
tree | 0f2f065f090e286eaec08be41204370522debdff /templates | |
parent | ce6931a046423bb0ef6420c9df670315446153bd (diff) | |
download | gitea-3cfa4a581ca3cf3cb5e5105725d77f4c594de478.tar.gz gitea-3cfa4a581ca3cf3cb5e5105725d77f4c594de478.zip |
Bug: 500 when transfer repository to collaborator
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/sidebar.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 583b3b81ba..2d0d24c2ed 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.4.0928 Beta
\ No newline at end of file +0.5.4.0929 Beta
\ No newline at end of file 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 |