diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-09 15:50:06 -0700 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-09 15:50:06 -0700 |
commit | 08c6d07aad65f45efd5bf9f50d9cda68f59c0e69 (patch) | |
tree | 28c9dbbcd98262f626deadd9534a286e1692fde0 /templates/repo/settings | |
parent | 9a1d5d2489d25778e26ab413cb9ee78d3fe2823a (diff) | |
download | gitea-08c6d07aad65f45efd5bf9f50d9cda68f59c0e69.tar.gz gitea-08c6d07aad65f45efd5bf9f50d9cda68f59c0e69.zip |
UI: Bare repository does not have visual link to settings page
Diffstat (limited to 'templates/repo/settings')
-rw-r--r-- | templates/repo/settings/hook_new.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/settings/hook_new.tmpl b/templates/repo/settings/hook_new.tmpl index 917e6d1b72..2cd0eacb6a 100644 --- a/templates/repo/settings/hook_new.tmpl +++ b/templates/repo/settings/hook_new.tmpl @@ -49,6 +49,7 @@ </form> </div> </div> + {{if .PageIsSettingsHooksEdit}} <br> <div id="setting-content"> <div id="repo-hooks-history-panel" class="panel panel-radius"> @@ -60,6 +61,7 @@ </ul> </div> </div> + {{end}} </div> </div> </div> |