                 [:i.fa.fa-caret-down])])]
           [:div.build-commits-list
            (if-not (seq (:all_commit_details build))
-             (om/build commit-line {:subject (:subject build)
+             (om/build commit-line {:build build
+                                    :subject (:subject build)
                                     :body (:body build)
                                     :commit_url (build-model/github-commit-url build)
                                     :commit (:vcs_revision build)})
              (list
-              (om/build-all commit-line (take 3 (:all_commit_details build)))
+              (om/build-all commit-line (take 3 (map #(assoc % :build build)
+                                                     (:all_commit_details build))))
               (when (:show-all-commits build-data)
-                (om/build-all commit-line (drop 3 (:all_commit_details build))))))]])))))
+                (om/build-all commit-line (drop 3 (map #(assoc % :build build)
+                                                       (:all_commit_details build)))))))]])))))
 
 (defn build-ssh [nodes owner]
   (reify

                                             "add more containers"]
               " and finish even faster."])]))))))

(defn commit-line [{:keys [subject body commit_url commit] :as commit-details} owner]
  (reify
    om/IDidMount
    (did-mount [_]

      (html
       [:div
        [:span {:title body
                :id (str "commit-line-tooltip-hack-" commit)
                :dangerouslySetInnerHTML {:__html (-> subject
                                                      (gstring/htmlEscape)
                                                      (linkify)
                                                      (maybe-project-linkify (vcs-url/project-name (:vcs_url build))))}}]
        [:a.sha-one {:href commit_url
                     :title commit}
         " "
