             [:div.content.make
              "Your discount expires on " (datetime/month-day (:discount/end plan)) "."])])))))
 
+(defn open-menu-props [cast! submenu]
+  {:on-click #(cast! :plan-submenu-opened {:submenu submenu})
+   :on-touch-end #(do (cast! :plan-submenu-opened {:submenu submenu})
+                      (.preventDefault %))})
+
+(defn activity-summary [{:keys [plan team-uuid]} owner]
+  (reify
+    om/IRender
+    (render [_]
+      (let [cast! (om/get-shared owner :cast!)]
+        (html
+         (case (count (:plan/active-custs plan))
+           0 [:span
+              [:a (merge {:role "button"}
+                         (open-menu-props cast! :active))
+               "No users"]
+              " are active on your team, yet."]
+           1 [:span
+              [:a (merge {:role "button"}
+                         (open-menu-props cast! :active))
+               "One user"]
+              " is active on your team."]
+           [:span
+            [:a (merge {:role "button"}
+                       (open-menu-props cast! :active))
+             (str (count (:plan/active-custs plan)) " users")]
+
+            " are active on your team."]))))))
+
 (defn paid-summary [{:keys [plan team-uuid]} owner]
   (reify
     om/IRender

            " for " (format-stripe-cents (plan-model/cost plan)) "."]])
        [:div.content.make
         [:p
          (case (count (:plan/active-custs plan))
            0 "No users are active on your team, yet."
            1 "One user is active on your team."
            (str (count (:plan/active-custs plan)) " users are active on your team."))
          " Your plan renews monthly. "
          ;; discount
          (when-let [coupon (:discount/coupon plan)]

         (if (nil? active-users)
           [:div.loading {:key "loading"} "Loading"]
           [:div.content {:key "history"}
            (if (seq history)
              (for [{:keys [cust instant added?]} (reverse history)]
                [:div.access-card.make {:key (str instant cust)}
                 [:div.access-avatar
