Fixed draft button being shown
This commit is contained in:
parent
0225805782
commit
ff725eaf4c
@ -10,10 +10,11 @@ component Groups(groups []*arn.Group, nextIndex int, user *arn.User)
|
|||||||
|
|
||||||
.corner-buttons
|
.corner-buttons
|
||||||
if user != nil
|
if user != nil
|
||||||
if user.DraftIndex().GroupID == "" && user.IsPro()
|
if user.DraftIndex().GroupID == ""
|
||||||
button.action(data-action="newObject", data-trigger="click", data-type="group")
|
if user.IsPro()
|
||||||
Icon("plus")
|
button.action(data-action="newObject", data-trigger="click", data-type="group")
|
||||||
span New group
|
Icon("plus")
|
||||||
|
span New group
|
||||||
else
|
else
|
||||||
a.button(href="/group/" + user.DraftIndex().GroupID + "/edit")
|
a.button(href="/group/" + user.DraftIndex().GroupID + "/edit")
|
||||||
Icon("pencil")
|
Icon("pencil")
|
||||||
|
@ -20,23 +20,27 @@ component Shop(items []*arn.ShopItem, itemPopularity map[string]int, user *arn.U
|
|||||||
Icon("check")
|
Icon("check")
|
||||||
span Access the dark theme
|
span Access the dark theme
|
||||||
|
|
||||||
li.pro-benefit.mountable
|
li.pro-benefit.mountable
|
||||||
Icon("check")
|
Icon("check")
|
||||||
span Customize your cover image
|
span Customize your cover image
|
||||||
|
|
||||||
li.pro-benefit.mountable
|
li.pro-benefit.mountable
|
||||||
|
Icon("check")
|
||||||
|
span Gain early access to new features
|
||||||
|
|
||||||
|
li.pro-benefit.mountable
|
||||||
Icon("check")
|
Icon("check")
|
||||||
span Secure a spot on the supporters page
|
span Secure a spot on the supporters page
|
||||||
|
|
||||||
li.pro-benefit.mountable
|
li.pro-benefit.mountable
|
||||||
Icon("check")
|
Icon("check")
|
||||||
span Show a star next to your avatar
|
span Show a star next to your avatar
|
||||||
|
|
||||||
li.pro-benefit.mountable
|
li.pro-benefit.mountable
|
||||||
Icon("check")
|
Icon("check")
|
||||||
span Receive the supporter role on the Discord server
|
span Receive the supporter role on the Discord server
|
||||||
|
|
||||||
li.pro-benefit.mountable
|
li.pro-benefit.mountable
|
||||||
Icon("check")
|
Icon("check")
|
||||||
span ...and many more luxury features in the future.
|
span ...and many more luxury features in the future.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user