                                  (.preventDefault %)
                                  (swap! state assoc :show-issuer-info true
                                         :issuer-content {:id issuer_content_id :name issuer_content_name :image issuer_image :url issuer_content_url :banner banner})
-                                 (issuer-badges issuer_content_name state)
+                                 (issuer-applications issuer_content_name state)
 
                                  )}
                [:div {:style {:padding "5px"}} (if issuer_image

           [:div.pull-right  [:a {:href "#"}[:i {:class "fa fa-bookmark-o"}] (str " " (t :extra-application/Addtofavourites))]]]
          ]]]])))


(defn issuer-content [state]
  (let [applications (cursor state [:all-applications])
        issuer-name (cursor state [:issuer-content :name])]

           [:a {:style {:cursor "pointer" :text-align "center"} :data-dismiss "modal" :on-click #(do
                                                                                                   (swap! state assoc :show-issuer-info false
                                                                                                          :issuer-content {:name (t :core/All) #_(t :badge/Issuers)})
                                                                                                   (issuer-applications "" state))} (t :core/All)]]
          (doall
            (for [app (sort-by :issuer_content_name (distinct-by :issuer_content_name @applications))
                  :let [{:keys [issuer_content_name issuer_image issuer_content_url issuer_content_id]} app
                        badges-count (issuer-applications-count issuer_content_name state)
                        ;testing
                        banner (if (even? (count issuer_content_name)) true false)]]
              [:a { :key issuer_content_id
