      ", so CircleCI can investigate."]))
 
 
-(defn report-error [build owner]
+(defn report-error [{:keys [build show-premium-content?]} owner]
   (let [build-id (build-model/id build)
         build-url (:build_url build)]
     (when (:failed build)

          [:div.row
           [:div.col-xs-12
            (when (empty? (:messages build))
              [:div (report-error build owner)])

            (when (and plan (project-common/show-trial-notice? project plan))
              (om/build project-common/trial-notice project-data))

       (if (:infrastructure_fail build)
         (infrastructure-fail-message owner)
         [:div.alert-wrap
          "To err == human. To be a little less human, check out our "
          [:a {:href "/docs/troubleshooting"}
           "docs"]
          " or "
          [:a {:href "https://discuss.circleci.com/"}
           "community site"]
          "."
          (when show-premium-content?
            [:span
             " Still stuck? We're "
             [:a (common/contact-support-a-info owner :tags [:report-build-clicked {:build-url build-url}])
              "happy to help"]
             "."])])])))

(defn sticky [{:keys [wrapper-class content-class content]} owner]
  (reify
