                                             "Select your GitHub "
                                             (when bitbucket-enabled? "or Bitbucket ")
                                             "organization (or username) to view your projects.")}))))
+
+(defn- no-projects-available [org]
+  (component no-projects-available
+    (empty-state/empty-state {:icon (html [:i.material-icons "book"])
+                              :heading (html
+                                        [:span
+                                         [:b (:name org)]
+                                         " has no projects building on CircleCI"])
+                              :subheading "Let's fix that by adding a new project."
+                              :action (html
+                                       [:a.btn.btn-primary
+                                        {:href (routes/v1-add-projects)}
+                                        "Add Project"])})))
 
 (defn- organization-ident
   "Builds an Om Next-like ident for an organization."

                  "github" [:i.octicon.octicon-mark-github]
                  "bitbucket" [:i.fa.fa-bitbucket]
                  nil)])
              (if (:projects selected-org)
                (table (:projects selected-org))
                (html [:div.loading-spinner common/spinner])))
             (no-org-selected available-orgs (vcs-utils/bitbucket-enabled? user)))]])))))



(defn- table [projects]
  (om/build table/table
            {:rows projects
             :columns [{:header "Project"
                        :cell-fn #(vcs-url/repo-name (:vcs_url %))}

