aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/settings/navbar.tmpl
blob: fcce43f914a21468a0d9ba279bff4d202cf71a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="four wide column">
	<div class="ui fluid vertical menu">
		<div class="header item">{{.locale.Tr "org.settings"}}</div>
		<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.OrgLink}}/settings">
			{{.locale.Tr "org.settings.options"}}
		</a>
		{{if not DisableWebhooks}}
		<a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{.OrgLink}}/settings/hooks">
			{{.locale.Tr "repo.settings.hooks"}}
		</a>
		{{end}}
		<a class="{{if .PageIsOrgSettingsLabels}}active {{end}}item" href="{{.OrgLink}}/settings/labels">
			{{.locale.Tr "repo.labels"}}
		</a>
		{{if .EnableOAuth2}}
		<a class="{{if .PageIsSettingsApplications}}active {{end}}item" href="{{.OrgLink}}/settings/applications">
			{{.locale.Tr "settings.applications"}}
		</a>
		{{end}}
		{{if .EnablePackages}}
		<a class="{{if .PageIsSettingsPackages}}active {{end}}item" href="{{.OrgLink}}/settings/packages">
			{{.locale.Tr "packages.title"}}
		</a>
		{{end}}
		{{if .EnableActions}}
		<div class="item">
			{{.locale.Tr "actions.actions"}}
			<div class="menu">
				<a class="{{if .PageIsSharedSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/actions/runners">
					{{.locale.Tr "actions.runners"}}
				</a>
				<a class="{{if .PageIsSharedSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/actions/secrets">
					{{.locale.Tr "secrets.secrets"}}
				</a>
			</div>
		</div>
		{{end}}
		<a class="{{if .PageIsSettingsDelete}}active {{end}}item" href="{{.OrgLink}}/settings/delete">
			{{.locale.Tr "org.settings.delete"}}
		</a>
	</div>
</div>