aboutsummaryrefslogtreecommitdiff
path: root/templates/user/settings/navbar.tmpl
blob: 4afe2173c2bdab0976caed780481064a51c1c613 (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
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
	<div class="new-menu-inner">
		<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
			{{.locale.Tr "settings.profile"}}
		</a>
		<a class="{{if .PageIsSettingsAccount}}active {{end}}item" href="{{AppSubUrl}}/user/settings/account">
			{{.locale.Tr "settings.account"}}
		</a>
		<a class="{{if .PageIsSettingsAppearance}}active {{end}}item" href="{{AppSubUrl}}/user/settings/appearance">
			{{.locale.Tr "settings.appearance"}}
		</a>
		<a class="{{if .PageIsSettingsSecurity}}active {{end}}item" href="{{AppSubUrl}}/user/settings/security">
			{{.locale.Tr "settings.security"}}
		</a>
		<a class="{{if .PageIsSettingsApplications}}active {{end}}item" href="{{AppSubUrl}}/user/settings/applications">
			{{.locale.Tr "settings.applications"}}
		</a>
		<a class="{{if .PageIsSettingsKeys}}active {{end}}item" href="{{AppSubUrl}}/user/settings/keys">
			{{.locale.Tr "settings.ssh_gpg_keys"}}
		</a>
		<a class="{{if .PageIsSettingsSecrets}}active {{end}}item" href="{{AppSubUrl}}/user/settings/secrets">
			{{.locale.Tr "secrets.secrets"}}
		</a>
		{{if .EnablePackages}}
		<a class="{{if .PageIsSettingsPackages}}active {{end}}item" href="{{AppSubUrl}}/user/settings/packages">
			{{.locale.Tr "packages.title"}}
		</a>
		{{end}}
		{{if not DisableWebhooks}}
		<a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{AppSubUrl}}/user/settings/hooks">
			{{.locale.Tr "repo.settings.hooks"}}
		</a>
		{{end}}
		<a class="{{if .PageIsSettingsOrganization}}active {{end}}item" href="{{AppSubUrl}}/user/settings/organization">
			{{.locale.Tr "settings.organization"}}
		</a>
		<a class="{{if .PageIsSettingsRepos}}active {{end}}item" href="{{AppSubUrl}}/user/settings/repos">
			{{.locale.Tr "settings.repos"}}
		</a>
	</div>
</div>