aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2024-02-05 17:23:08 +0800
committerGitHub <noreply@github.com>2024-02-05 09:23:08 +0000
commit0d136df3f0b3920d34ce850499e1346fbff29e30 (patch)
treed438558a5d1bbd660922f5c03c3f3371de3de8e3
parent4bb1fcd2e727c3514658d720abed145ca751049f (diff)
downloadgitea-0d136df3f0b3920d34ce850499e1346fbff29e30.tar.gz
gitea-0d136df3f0b3920d34ce850499e1346fbff29e30.zip
Remove useless template file (#29053)
Removed `templates/repo/settings/nav.tmpl`. I don't think it's still used. On main branch: <img width="521" alt="image" src="https://github.com/go-gitea/gitea/assets/9418365/c0bf958c-698a-4348-840e-3ade0312bd6e"> On commit 755eec745fa324fdd13078f0147638f8731652ba (the commit that created this file): <img width="615" alt="image" src="https://github.com/go-gitea/gitea/assets/9418365/5156b26d-1ecd-4197-a0a6-dc2d17652ff4">
-rw-r--r--templates/repo/settings/nav.tmpl19
1 files changed, 0 insertions, 19 deletions
diff --git a/templates/repo/settings/nav.tmpl b/templates/repo/settings/nav.tmpl
deleted file mode 100644
index 93ecb3877b..0000000000
--- a/templates/repo/settings/nav.tmpl
+++ /dev/null
@@ -1,19 +0,0 @@
-<div id="setting-menu" class="grid-1-5 panel panel-radius left">
- <p class="panel-header"><strong>{{ctx.Locale.Tr "repo.settings"}}</strong></p>
- <div class="panel-body">
- <ul class="menu menu-vertical switching-list grid-1-5 left">
- <li {{if .PageIsSettingsOptions}}class="current"{{end}}><a href="{{.RepoLink}}/settings">{{ctx.Locale.Tr "repo.settings.options"}}</a></li>
- <li {{if .PageIsSettingsCollaboration}}class="current"{{end}}><a href="{{.RepoLink}}/settings/collaboration">{{ctx.Locale.Tr "repo.settings.collaboration"}}</a></li>
- <li {{if .PageIsSettingsBranches}}class="current"{{end}}><a href="{{.RepoLink}}/settings/branches">{{ctx.Locale.Tr "repo.settings.branches"}}</a></li>
- <li {{if .PageIsSettingsTags}}class="current"{{end}}><a href="{{.RepoLink}}/settings/tags">{{ctx.Locale.Tr "repo.settings.tags"}}</a></li>
- {{if not DisableWebhooks}}
- <li {{if .PageIsSettingsHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks">{{ctx.Locale.Tr "repo.settings.hooks"}}</a></li>
- {{end}}
- {{if or .SignedUser.AllowGitHook .SignedUser.IsAdmin}}
- <li {{if .PageIsSettingsGitHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks/git">{{ctx.Locale.Tr "repo.settings.githooks"}}</a></li>
- {{end}}
- <li {{if .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{ctx.Locale.Tr "repo.settings.deploy_keys"}}</a></li>
- <li {{if .PageIsSharedSettingsSecrets}}class="current"{{end}}><a href="{{.RepoLink}}/settings/secrets">{{ctx.Locale.Tr "secrets.secrets"}}</a></li>
- </ul>
- </div>
-</div>