2019-02-23 13:29:15 +00:00
|
|
|
{{/*###
|
|
|
|
NoCompile=true
|
|
|
|
*/}}
|
|
|
|
{{ define "settingsSidebar" }}
|
|
|
|
<div class="four wide column">
|
|
|
|
<div class="ui fluid vertical menu">
|
|
|
|
{{ navbarItem .Path (.T "Profile") "/settings" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Userpage") "/settings/userpage" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Avatar") "/settings/avatar" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Password") "/settings/password" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Two Factor Authentication") "/settings/2fa" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Authorized applications") "/settings/authorized_applications" }}
|
2019-02-24 14:47:51 +00:00
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Clan Settings") "/settings/clansettings" }}
|
2019-02-23 13:29:15 +00:00
|
|
|
|
|
|
|
{{/* Stuff for donators */}}
|
|
|
|
{{ if has .Context.User.Privileges 4 }}
|
|
|
|
{{ navbarItem .Path (.T "Discord donor") "/settings/discord" }}
|
|
|
|
|
|
|
|
{{ navbarItem .Path (.T "Profile background") "/settings/profbackground" }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|