                      :pending-badges []
                      :tips {:profile-picture-tip false
                             :welcome-tip false
-                            :not-verified-emails []}})]
+                            :not-verified-emails []}
+                     :badge-alert nil})]
 
     (init-data state)
     (fn []

    [:div {:class "my-badges pages"}

     [m/modal-window]
     [pending-connections reload-fn]
     [badges-pending state]
     (if (not-activated?)

                              (update-status id "declined" state)
                              (.preventDefault %))}
        (t :badge/Declinebadge)]]]]]])

(defn badge-alert [state]
  (if (:badge-alert @state)
    [:div {:class "alert alert-success"}
     (case (:badge-alert @state)
       "accepted"  [:div (str (t :badge/Youhaveaccepted) " " (:badge-name @state)". ") (t :badge/Youcanfind)]
       "declined" (t :badge/Badgedeclined)
       "")]))

(defn badge-pending [badge state]
  [:div.row {:key (:id badge)}
