Skip to content

Commit

Permalink
add menu entry for ticket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyJayJay committed Aug 21, 2024
1 parent d584679 commit 1feadaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/co/gaiwan/compass/html/navigation.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
[:a {:hx-boost "false"
:href "/oauth2/discord/redirect"}
"Sign-in with Discord"])]
(when (and user (not (:tito.ticket/_assigned-to user)))
[:li [:a {:href "/connect-ticket"
:on-click "document.body.classList.toggle('menu-open')"}
[:strong "Connect your tito ticket to your account"]]])
(for [[href caption] {"/" "Sessions & Activities"
"/attendees" "Attendees"
"/profile" "Profile & Settings"
Expand Down

0 comments on commit 1feadaf

Please sign in to comment.