From 936d461f3caa3b78a37493d801d0bc65426d491a Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Thu, 5 Apr 2018 11:03:50 +0200 Subject: [PATCH] update routes --- src/cljs/commiteth/core.cljs | 6 ++++-- src/cljs/commiteth/routes.cljs | 10 +++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/cljs/commiteth/core.cljs b/src/cljs/commiteth/core.cljs index 62a27dd..029e0a2 100644 --- a/src/cljs/commiteth/core.cljs +++ b/src/cljs/commiteth/core.cljs @@ -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?) diff --git a/src/cljs/commiteth/routes.cljs b/src/cljs/commiteth/routes.cljs index cedf7a2..844b22e 100644 --- a/src/cljs/commiteth/routes.cljs +++ b/src/cljs/commiteth/routes.cljs @@ -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]]))