                    (om/build-all build-tests-file-block bottom-map))))))]]]]))))
 
 (defn build-tests-list [{project :project
-                        {{:keys [tests exceptions]} :tests-data
-                         {build-status :status} :build
-                         :as data} :build-data}
+                         {{:keys [tests exceptions]} :tests-data
+                          {build-status :status} :build
+                          :as data} :build-data}
                         owner]
   (reify
     om/IWillMount

                                    0))
                               (plan-model/max-parallelism plan))
                          "x")))]])]
           (when (:usage_queued_at build)
             [:div.summary-items
              [:div.summary-item
               [:span.summary-label "Queued: "]
               [:span (queued-time build)]]])

           [:div.summary-build-contents
            [:div.summary-item
             [:span.summary-label "Triggered by: "]
             [:span (trigger-html build)]]

            (when (build-model/has-pull-requests? build)
              (pull-requests {:urls (:pull_request_urls build)} owner))]]

          (when-let  [canceler  (and  (=  (:status build) "canceled")
                                      (:canceler build))]
            [:div.summary-header
             [:div.summary-items
              [:div.summary-item
               (build-canceler canceler)]]])
          [:div.card
           [:div.small-emphasis
            (let [n (-> build :all_commit_details count)]
              (if (:all_commit_details_truncated build)
                (gstring/format "Last %d Commits" n)
                (gstring/format "Commits (%d)" n)))]
           (om/build build-commits build-data)]
          [:div.build-head-wrapper
           [:div.build-head
            (om/build build-sub-head data)]]])))))

                (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+@#/%=~_|])"
