                   [:td.name [:a {:href "#"
                                  :on-click #(do
                                               (mo/open-modal [:badge :issuer] id {:hide (fn [] (init-data state))})
-                                              (.preventDefault %)) }(if image_file [:img.badge-icon {:src (str "/" image_file) :alt (str name " icon")}]
-                                                                      [:span {:style {:width "30px" :display "inline-block" :margin-right "10px"} :dangerouslySetInnerHTML {:__html "&nbsp;"}}]) name]]
+                                              (.preventDefault %))} (if image_file [:img.badge-icon {:src (str "/" image_file) :alt (str name " icon")}]
+                                                                        [:span {:style {:width "30px" :display "inline-block" :margin-right "10px"} :dangerouslySetInnerHTML {:__html "&nbsp;"}}]) name]]
                   [:td.action (remove-issuer-from-favourites id state)]]))]])]))
-
 
 (defn badge-connections [badges state]
   (let [panel-identity :badges

     ;(user-connections)



(defn handler [site-navi]
  (let [state (atom {:badges []
                     :issuers []})]

                                 :on-click #(do
                                              (mo/open-modal [:gallery :badges] {:badge-id id} {:hide (fn [] (init-data state))})
                                              ;(b/open-modal id false init-data state)
                                              (.preventDefault %))} name]]
                  [:td.action (unfollow id state)]]))]])]))

(defn content [state]
  (let [badges (:badges @state)
