                     ) [:div] @(cursor state [:user-badge-endorsements]))]]))))
 
 (defn profile [element-data]
-  (let [{:keys [id first_name last_name profile_picture status header]} element-data
+  (let [{:keys [id first_name last_name profile_picture status label]} element-data
         current-user (session/get-in [:user :id])]
     [:div.endorsement-profile.panel-default
      [:a {:href "#" :on-click #(mo/open-modal [:user :profile] {:user-id id})}

                         :show-content "none"
                         :show-endorsement-status "block")))}))

(defn user-badge-endorsement-content [badge-id]
  (let [state (atom {:id badge-id})]
    (init-user-badge-endorsement state)
    (fn []
      (let [endorsements (:user-badge-endorsements @state)]
        (when (seq endorsements)
          [:div;.row {:id "badge-contents"}
           ;[:div.col-xs-12
           ;[:h4 {:style {:margin-bottom "20px"}} (t :badge/BadgeEndorsedBy)]
           (reduce (fn [r endorsement]
                     (let [{:keys [id user_badge_id image_file name content first_name last_name profile_picture endorser_id mtime]} endorsement]
                       (conj r [:div {:style {:margin-bottom "20px"}}
                                [:h5
                                 [:a {:href "#"
                                      :on-click #(do (.preventDefault %) (mo/set-new-view [:user :profile] {:user-id endorser_id}))
                                      } (str first_name " " last_name)]

                           [:div.thumbnail
                            [:div.endorser.col-md-12
                             [profile-link-inline endorser_id first_name last_name profile_picture id]
                             [:hr.line]
                             ]
                            [:div.caption.row.flip
                             [:div.position-relative.badge-image.col-md-3
