             [frontend.components.build-steps :as build-steps]
             [frontend.components.common :as common]
             [frontend.components.project.common :as project-common]
+            [frontend.config :refer [enterprise?]]
             [frontend.scroll :as scroll]
             [frontend.state :as state]
             [frontend.utils :as utils :include-macros true]

            [sablono.core :as html :refer-macros [html]])
    (:require-macros [frontend.utils :refer [html]]))

(defn report-error [build owner]
  (let [build-id (build-model/id build)
        build-url (:build_url build)]
    (when (:failed build)
      [:div.alert.alert-danger
       (if-not (:infrastructure_fail build)
         [:div.alert-wrap
          "Error! "
          [:a {:href "/docs/troubleshooting"}

          [:a (merge {:title "Report an error in how Circle ran this build"}
                     (common/contact-support-a-info owner :tags [:report-build-clicked {:build-url build-url}]))
           "report this issue"]
          " and we'll investigate."])])))

(defn container-pill [{:keys [container current-container-id build-running?]} owner]
  (reify
