 
 (defn url-creator [item-type id]
   (cond
-    (= item-type "badges") (path-for (str "/gallery/badgeview/" id))  
+    (= item-type "badges") (path-for (str "/gallery/badgeview/" id))
     (= item-type "page") (path-for (str "/page/view/" id))
-     (= item-type "user") (path-for (str "/user/profile/" id))
+    (= item-type "user") (path-for (str "/user/profile/" id))
+    (= item-type "badge") (path-for (str "/badge/info/" id))
     :else (current-path)))
 
 

                    (reset! status (if (= "true" @status) "false" "true")))}  (if closed? (t :admin/Reportproblem) (t :core/Close))])

(defn reportform [state status]
  (let [description-atom (cursor state [:description]) 
        report-type-atom (cursor state [:report-type])]
    [:div  {:class "row report-form"}
     (open-reportform-button false status)
     
     [:div {:class "col-xs-12" :id "reportform"}
      [:h4 (t :admin/Reportproblem)]
      [:div.form-group

                   :name     "visibility"
                   :checked  (= @report-type-atom "bug")
                   :onChange #(reset! report-type-atom "bug")}]
          (t :admin/bug)]]
        [:div.radio
         [:label
          [:input {:type     "radio"
