                                :else              part)
                    url        (:url artifact)
                    tag        (if (and url (not admin?)) ; Be extra careful about XSS of admins
-                                [:a {:href (:url artifact) :target "_blank"} text]
-                                [:span text])
+                                [:a.artifact-link {:href (:url artifact) :target "_blank"} text]
+                                [:span.artifact-directory-text text])
                    key        (keyword (str "index-" idx))
                    closed?    (or
                                (:ancestors-closed? opts)

                  tag)
                [:div {:style (when closed? {:display "none"})}
                 (om/build artifacts-node
                           children
                           {:opts (assoc opts
                                    :ancestors-closed? (or (:ancestors-closed? opts) closed?))})]]))
           (sort-by first artifacts))])))))

            (artifacts-ad)
            (if-not artifacts
              [:div.loading-spinner common/spinner]
              (om/build artifacts-node {:artifacts (artifacts-tree artifacts)
                                        :admin? (:admin (:user data))} {:opts node-opts})))])))))

(defn tests-ad [owner]
  [:div
