                                     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 (: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)]]])))))

                                 (:classname slowest)
                                 (:name slowest)
                                 (:run_time slowest))]])]
               :else [:div.alert.iconified {:class "alert-info" }
                      [:div [:img.alert-icon {:src (common/icon-path
                                                    (if build-succeeded? "Info-Info" "Info-Error"))}]]
                      (tests-ad owner (:language project))])))])))))

                   (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}
                        owner]
  (reify
    om/IWillMount
