      [m/modal-window]
      [:div.panel
       [:div.panel-body
-       (if (and owner? (not expired?) (not revoked))
+       #_(if (and owner? (not expired?) (not revoked))
          [:div {:class "row" :id "badge-share-inputs"}
           (if-not (private?)
             [:div.pull-left

    (fn [] (swap! state assoc :permission "error")))
  )

(defn toggle-visibility [state]
  (let [id (:id @state)
        new-value (if (= (:visibility @state) "private") "public" "private")]
    (ajax/POST

                (= view_count 1) (t :badge/Viewedonce)
                (> view_count 1) (str (t :badge/Viewed) " " view_count " " (t :badge/times))
                :else            (t :badge/Badgeisnotviewedyet))]]])
         #_(if (> recipient_count 1)
           [:div.row {:id "badge-views"}
            [:div.col-xs-12
             [:a.link {:href     "#"
                       :on-click #(do
                                    (mo/open-modal [:gallery :badges] {:badge-id badge_id})
                                    (.preventDefault %))} (t :badge/Otherrecipients)]]])
         #_[:div.row
          [:div.col-xs-12 {:id "badge-congratulated"}
           (if (and user-logged-in? (not owner?))
             (if congratulated?
