                                                         (t :gallery/recipients))])
                                     [:div.media-description description]]]]
                                  [:div.media-bottom
-                                  [:div {:class "pull-left"}
-                                   ]
+                                  [:div {:class "pull-left"}]
+
                                   (admin-gallery-badge badge_id "badges" state init-data)]]
        (= "selectable" badge-type)  [:div
                                      [:a {:href "#" :on-click #(mo/open-modal [:badge :info] {:badge-id id})}

                                   [:div.media-heading
                                    [:p.heading-link name]]
                                   [:div.media-issuer
                                    [:p issuer_content_name]]]
                                  ]])

       (= "profile" badge-type) [:div
                                 [:a {:href "#" :on-click #(mo/open-modal [:badge :info] {:badge-id id})}

                                   [:div.icons.col-xs-12 {:style {:min-height "15px" :padding "0px"}}
                                    [:div.visibility-icon.inline
                                     ;(if metabadge-icon-fn [:div.pull-right [metabadge-icon-fn id]])
                                     (when (or (pos? user_endorsements_count) (pos? endorsement_count)) [:span.badge-view [:i.fa.fa-handshake-o]])]]


                                   [:div.media-left
                                    (if image_file  [:img {:src (str "/" image_file) :alt name}])
                                    [:div.media-body
                                     [:div.media-heading name]
                                     [:div.media-issuer [:p issuer_content_name]]]]]]]


       (= "gallery" badge-type) [:div
                                 [:a {:href "#" :on-click #(mo/open-modal [:gallery :badges] {:badge-id badge_id})
