update routes

This commit is contained in:
Martin Klepsch 2018-04-05 11:03:50 +02:00 committed by Tetiana Churikova
parent 339002f8df
commit 936d461f3c
2 changed files with 7 additions and 9 deletions

View File

@ -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?)

View File

@ -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]]))