       (cond
         should-show-cancel?
         (build-action
-          {:text "cancel"
-           :loading-text "Cancelling..."
-           :icon-name "Status-Canceled"
-           :on-click #(do
-                        (raise! owner [:cancel-build-clicked build-args])
-                        ((om/get-shared owner :track-event) {:event-type :cancel-build-clicked}))})
+         {:text "cancel"
+          :loading-text "Cancelling..."
+          :icon-name "Status-Canceled"
+          :on-click #(do
+                       (raise! owner [:cancel-build-clicked build-args])
+                       ((om/get-shared owner :track-event) {:event-type :cancel-build-clicked}))})
 
         should-show-rebuild?
         (build-action
-          {:text "rebuild"
-           :loading-text "Rebuilding..."
-           :icon-name "Rebuild"
-           :on-click #(raise! owner [:retry-build-clicked build-args])})
+         {:text "rebuild"
+          :loading-text "Rebuilding..."
+          :icon-name "Rebuild"
+          :on-click #(raise! owner [:retry-build-clicked build-args])})
         :else nil)]
      
      [:div.build-info

            [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]
            [frontend.utils.github :as gh-utils])
  (:require-macros [frontend.utils :refer [html]]))

(defn dashboard-icon [name]
  [:img.dashboard-icon {:src (utils/cdn-path (str "/img/inner/icons/" name ".svg"))}])


     [:div.metadata
      [:div.metadata-row.timing
       (if (or (not (:start_time build))
               (= "not_run" (:status build)))
         (list
          [:div.metadata-item.recent-time.start-time
           {:title "Started: not started"}
           [:i.material-icons "today"]
           "–"]
          [:div.metadata-item.recent-time.duration
           {:title "Duration: not run"}
           [:i.material-icons "timer"]
           "–"])
         (list [:div.metadata-item.recent-time.start-time
                {:title (str "Started: " (datetime/full-datetime (js/Date.parse (:start_time build))))}
                [:i.material-icons "today"]
                (om/build common/updating-duration {:start (:start_time build)} {:opts {:formatter datetime/time-ago-abbreviated}})
                " ago"]
               [:div.metadata-item.recent-time.duration
                {:title (str "Duration: " (build-model/duration build))}
                [:i.material-icons "timer"]
                (om/build common/updating-duration {:start (:start_time build)
                                                    :stop (:stop_time build)})]))]
      [:div.metadata-row.pull-revision
       (om/build pull-requests {:build build})
       (om/build commits {:build build})]]]))

(defn builds-table [data owner {:keys [show-actions? show-branch? show-project?]
                                :or {show-branch? true
