Add registration form to login and allow everyone to see listing

This commit is contained in:
Alicia
2019-02-24 11:35:42 +00:00
parent f5dc9e22fe
commit c9e61da7f0
2 changed files with 56 additions and 41 deletions

View File

@@ -41,6 +41,13 @@
{{ navbarItem .Path (.T "Request beatmap ranking") "/beatmaps/rank_request" }}
</div>
</div>
{{ else }}
<div class="ui dropdown item">
<span>{{ .T "Beatmaps" }}</span>
<div class="menu">
{{ navbarItem .Path (.T "Listing") "/beatmaps" }} }}
</div>
</div>
{{ end }}
{{ 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 }}