Hide 'Get Premium' button if user is premium

This commit is contained in:
Pixeldrain-Server committed 2024-12-04 11:33:13 +01:00
1 parent c110ccd35e
commit 3bf2701f2c
1 file changed
+3 -1
+3 -1
View File
@@ -4,7 +4,9 @@
</button>
<nav id="page_navigation" class="page_navigation">
<a href="/home#">Home</a>
<a href="/home#pro">Get Premium</a>
{{if eq .User.Subscription.ID ""}}
<a href="/home#pro">Get Premium</a>
{{end}}
<hr />
{{if .Authenticated}}
<a href="/user">{{.User.Username}}</a>