             [hiccup.core :refer [h]]
             [hiccup.element :refer [link-to]]
             [clojars.maven :refer [jar-to-pom-map commit-url]]
+            [clojars.auth :refer [authorized?]]
             [clojars.db :refer [find-jar jar-exists]]
+            [clojars.promote :refer [blockers]]
             [ring.util.codec :refer [url-encode]]))
 
 (defn url-for [jar]

(defn safe-link-to [url text]
  (try (link-to url text)
    (catch Exception e text)))

(defn show-jar [account jar recent-versions count]
  (html-doc account (str (:jar_name jar) " " (:version jar))

                   [:span {:title (str (java.util.Date. (:created jar)))} (simple-date (:created jar))]
                   (if-let [url (commit-url pom)]
                     [:span.commit-url " with " (link-to url "this commit")])]
                 (promotion-details account jar)
                 (dependency-section "dependencies" "dependencies"
                                     (remove #(not= (:scope %) "compile") (:dependencies pom)))
                 (when-not pom
