hanayo/templates/settings/menu.html
2019-02-24 14:47:51 +00:00

31 lines
866 B
HTML

{{/*###
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" }}
{{ navbarItem .Path (.T "Clan Settings") "/settings/clansettings" }}
{{/* 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 }}