             author (:author data)]
         (dom/div #js {:className "bs-callout bs-callout-info"}
                  (dom/a #js {:href    "javascript:void(0)"
-                             :onClick #(com/ajax-get-and-change-view (:url statement) :default)}
+                             :onClick #(lib/change-view! :reference-agree-disagree)}
                         (dom/strong nil (:text statement)))
                  (dom/div nil "Issue: " (:title issue))
                  (dom/div nil "Author: " (:nickname author)))))))

            [discuss.communication :as com]
            [discuss.config :as config]
            [discuss.sidebar :as sidebar]
            [discuss.utils.common :as lib]
            [discuss.utils.views :as vlib]))


  (reify om/IRender
    (render [_]
      (dom/div #js {:className "text-center"}
               (bs/button-primary #(query-reference-details (:id (lib/selected-reference)))
                                  "Find usages of this reference")
               " "
               (bs/button-primary nil
                                  "Create new Statement with this reference")))))

(defn usage-view
  "List single usages of reference."
