      (when (= @(cursor state [:visible-area]) panel-identity)
        [:div.panel-body
         [:table {:class "table" :summary (t :badge/Issuers)}
+         [:thead
+          [:tr
+           [:th {:style {:display "none"}}  "Logo"]
+           [:th {:style {:display "none"}} (t :badge/Name)]
+           [:th {:style {:display "none"}} "Action"]]]
          (into [:tbody]
                (for [issuer issuers
                      :let [{:keys [id name image_file]} issuer]]


(defn init-issuer-connections [state]
  (ajax/GET
    (path-for "/obpv1/connections/connections_issuer")
    {:handler (fn [data]
                (swap! state assoc :issuers data))}))

(defn init-data [state]
  (ajax/GET
    (path-for "/obpv1/connections/connections_badge" true)
    {:handler (fn [data]
                ; (prn data)
                (swap! state assoc :badges data
                       :visible-area (session/get! :visible-area nil))
                (init-issuer-connections state))}))


(defn unfollow [badge-id state]
  [:a {:href "#" :on-click #(ajax/POST
                              (path-for (str "/obpv1/social/delete_connection_badge/" badge-id))
                              {:response-format :json
                               :keywords?       true
                               :handler         (fn [data]
                                                  (do
                                                    (init-data state)))
                               :error-handler   (fn [{:keys [status status-text]}]
                                                  (.log js/console (str status " " status-text)))})}
      (t :social/Unfollow)])

(defn remove-issuer-from-favourites [issuer-id state]
  [:a {:href "#"

     ;(user-connections)


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