             [goog.string :as gstring]
             [goog.string.format]
             [om.core :as om :include-macros true]
-            [om.dom :as dom :include-macros true])
+            [om.dom :as dom :include-macros true]
+            [frontend.models.plan :as pm])
   (:require-macros [cljs.core.async.macros :as am :refer [go go-loop alt!]]
                    [frontend.utils :refer [html defrender]]))
 

                                                      "github") repo)
                                 (= (:username repo) selected-org-login)
                                 (gstring/caseInsensitiveContains (:name repo) repo-filter-string)))
                    filtered-repos (->> repos (filter display?) (sort-by :pushed_at) (reverse))]
                [:div (om/build repo-filter settings)
                 (if (empty? filtered-repos)
                   (if loading-repos?
                     [:div.loading-spinner common/spinner]
                     [:div.add-repos
                      (if repo-filter-string
                        (str "No matching repos for organization " selected-org-login)
                        (str "No repos found for organization " selected-org-login))])
                   [:ul.proj-list.list-unstyled
                    (for [repo filtered-repos]
                      (om/build repo-item {:repo repo :settings settings}))])])
              repos-explanation)]])))))

(defn inaccessible-follows

                             :repos repos
                             :selected-org selected-org
                             :osx-enabled? (get-in data state/org-osx-beta-path)
                             :selected-plan (get-in data state/org-plan-path)
                             :settings settings})
       [:hr]
       ;; This is a chain to get the organization that the user has clicked on and whether or not to show a payment plan upsell.
