                     :type "hidden"}]
            [:button.btn.btn-primary {:value "Switch user", :type "submit"}
             "Switch user"]]]]]))))
+
+(defn current-seat-usage-p
+  [active-users total-seats]
+  [:p "There " (if (= 1 active-users) "is" "are" ) " currently "
+   [:b (pluralize active-users "active user")]
+   " out of "
+   [:b (pluralize total-seats "licensed user")]
+   "."])
 
 (defn overview [app owner]
   (reify

(ns frontend.components.admin
  (:require [ankha.core :as ankha]
            [cljs.core.async :as async :refer [>! <! alts! chan sliding-buffer close!]]
            [clojure.string :as str]
            [frontend.async :refer [raise!]]

               (:environment app)))]
          "."]

         (conj (current-seat-usage-p (get-in app (conj state/license-path :seat_usage))
                                     (get-in app (conj state/license-path :seats)))
               " You can deactivate users in "
               [:a {:href "/admin/users"} "user settings."])]))))

(defn builders [builders owner]
  (reify
