             [:div.loading-spinner common/spinner]
             (list
              (when (> (count exceptions) 0)
-               [:div.alert.iconified {:class "alert-danger" }
+               [:div.alert.iconified {:class "alert-danger"}
                 [:div [:img.alert-icon {:src (common/icon-path
                                               "Info-Error")}]]
                 (om/build parse-errors exceptions)])

                (when (show-additional-containers-offer? plan build)
                  (new-additional-containers-offer plan build))])]

              (when (seq builds)
               [:div.queued-builds
                (om/build builds-table/builds-table builds {:opts {:show-actions? true}})])]))))))

(defn linkify [text]
  (let [url-pattern #"(?im)(\b(https?|ftp)://[-A-Za-z0-9+@#/%?=~_|!:,.;]*[-A-Za-z0-9+@#/%=~_|])"

(defn ssh-ad
  "Note about why you might want to SSH into a build and buttons to do so"
  [build owner]
  [:div.ssh-ad
   [:p
    "Often the best way to troubleshoot problems is to SSH into a running or finished build to look at log files, running processes, and so on.
       This will grant you ssh access to the build's containers, prevent the deploy step from starting, and keep the build up for 30 minutes after it finishes to give you time to investigate.
       More information " [:a (open-ext {:href "https://circleci.com/docs/ssh-build/"}) "in our docs"] "."
    (om/build ssh-buttons build)]])

(defn ssh-command [node]
  (gstring/format "ssh -p %s %s@%s " (:port node) (:username node) (:public_ip_addr node)))
