update routes
This commit is contained in:
parent
339002f8df
commit
936d461f3c
|
@ -80,7 +80,7 @@
|
|||
(let [tabs [[:bounties (str (when-not @user "Open ") "Bounties")]
|
||||
[:activity "Activity"]
|
||||
(when (seq @owner-bounties)
|
||||
[:manage-payouts (str (when-not mobile? "Manage ") "Payouts")])
|
||||
[:dashboard "Dashboard"])
|
||||
(when (:status-team-member? @user)
|
||||
[:usage-metrics "Usage metrics"])]]
|
||||
(into [:div.ui.attached.tabular.menu.tiny]
|
||||
|
@ -204,7 +204,9 @@
|
|||
:activity [activity-page]
|
||||
:bounties [bounties-page]
|
||||
:repos [repos-page]
|
||||
:manage-payouts [manage-payouts-page]
|
||||
(:dashboard
|
||||
:issuer-dashboard/to-confirm
|
||||
:issuer-dashboard/to-merge) [manage-payouts-page]
|
||||
:settings [update-address-page]
|
||||
:usage-metrics [usage-metrics-page])]]
|
||||
(when (show-top-hunters?)
|
||||
|
|
|
@ -6,13 +6,9 @@
|
|||
(bide/router [["/" :bounties]
|
||||
["/activity" :activity]
|
||||
["/repos" :repos]
|
||||
["/manage-payouts" :manage-payouts]
|
||||
["/manage-payouts/open" :issuer-dashboard/open]
|
||||
["/manage-payouts/funded" :issuer-dashboard/funded]
|
||||
["/manage-payouts/claimed" :issuer-dashboard/claimed]
|
||||
["/manage-payouts/merged" :issuer-dashboard/merged]
|
||||
["/manage-payouts/pending" :issuer-dashboard/pending-maintainer-confirmation]
|
||||
["/manage-payouts/paid" :issuer-dashboard/paid]
|
||||
["/dashboard" :dashboard]
|
||||
["/dashboard/to-confirm" :issuer-dashboard/to-confirm]
|
||||
["/dashboard/to-merge" :issuer-dashboard/to-merge]
|
||||
["/settings" :settings]
|
||||
["/usage-metrics" :usage-metrics]]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue