   (let [state (atom {:id badge-id})]
     (init-user-badge-endorsement state)
     (fn []
-      (let [endorsements (:user-badge-endorsements @state)
+      (let [endorsements (filter #(= (:status %) "accepted") (:user-badge-endorsements @state))
             badge-endorsements? (pos? (count @badge-endorsements))]
         (when (seq endorsements)
           [:div;.row {:id "badge-contents"}

                                                                   (delete-endorsement id user_badge_id nil nil))
                                                      :data-dismiss "modal"} [:i.fa.fa-trash] (t :badge/Deleteendorsement)]
                                                 ]])]
          [:div.col-md-8.col-md-pull-4 [profile {:id (or endorsee_id endorser_id)
                                                 :profile_picture profile_picture
                                                 :first_name first_name
                                                 :last_name last_name
                                                 :status status
                                                 :label (if endorser_id
                                                          (t :badge/pendingreceived)
                                                          (t :badge/pendinggiven)
                                                          )}]]]

     [:div.panel-body
      [:div.table  {:summary (t :badge/Endorsements)}
       (reduce (fn [r endorsement]
                 (let [{:keys [id endorsee_id issuer_id profile_picture issuer_name first_name last_name name image_file content status user_badge_id mtime]} endorsement
                       endorser (or issuer_name (str first_name " " last_name))]
                   (conj r [:div.list-item.row.flip
                            [:a {:href "#" :on-click #(do
                                                        (.preventDefault %)
