Update navbar.html

This commit is contained in:
Alicia 2019-02-24 14:53:54 +00:00
parent acb494c730
commit b74337c74b

View File

@ -41,6 +41,12 @@
{{ navbarItem .Path (.T "Request beatmap ranking") "/beatmaps/rank_request" }} {{ navbarItem .Path (.T "Request beatmap ranking") "/beatmaps/rank_request" }}
</div> </div>
</div> </div>
<div class="ui dropdown item">
<span>{{ .T "Clans" }}</span>
<div class="menu">
{{ navbarItem .Path (.T "Create Clan") "/clans/create" }}
</div>
</div>
{{ else }} {{ else }}
<div class="ui dropdown item"> <div class="ui dropdown item">
<span>{{ .T "Beatmaps" }}</span> <span>{{ .T "Beatmaps" }}</span>
@ -50,7 +56,7 @@
</div> </div>
{{ end }} {{ end }}
{{ navbarItem .Path (.T "Donate" | printf "<i class=\"red heart icon\"></i>%s") "/donate" }} {{ navbarItem .Path (.T "Donate" | printf "<i class=\"red heart icon\"></i>%s") "/donate" }}
{{ if $isAdmin }}{{ navbarItem .Path (.T "RAP" | printf "<b>%s</b>") "https://old.yozora.pw/p/100" }}{{ end }} {{ if $isAdmin }}{{ navbarItem .Path (.T "Admin" | printf "<b>%s</b>") "https://old.yozora.pw/p/100" }}{{ end }}
{{ end }} {{ end }}
<div class="firetrucking-right-menu"> <div class="firetrucking-right-menu">
<div class="item"> <div class="item">