replace zxq.co/ripple/hanayo
This commit is contained in:
28
templates/settings/menu.html
Normal file
28
templates/settings/menu.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{/*###
|
||||
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" }}
|
||||
|
||||
{{/* 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 }}
|
Reference in New Issue
Block a user