Skip to content

Commit

Permalink
add patron link to topnav
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 22, 2021
1 parent 09806e7 commit 403b3cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/base/topnav.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ object topnav {
div(role := "group")(
a(href := routes.User.list)(trans.players()),
a(href := routes.Team.home())(trans.team.teams()),
ctx.noKid option a(href := routes.ForumCateg.index)(trans.forum())
ctx.noKid option a(href := routes.ForumCateg.index)(trans.forum()),
ctx.me.exists(u => true || !u.isPatron && !u.kid) option
a(href := routes.Plan.index)(trans.patron.donate())
)
),
st.section(
Expand Down

0 comments on commit 403b3cc

Please sign in to comment.