                                                              (conj r [:a {:href (path-for "/badge")} [:img {:src (str "/" (:image_file badge)) :alt (:name badge) :title (:name badge)}]])
                                                              ) [:div] (take 5 (:pending-badges @state)))
                                                    )])
-           [:div.badges
-            [:p.header (t :social/Lastestearnedbadges)]
-            (reduce (fn [r badge]
-                      (conj r [:a {:href "#" :on-click #(do
-                                                          (.preventDefault %)
-                                                          (mo/open-modal [:badge :info] {:badge-id (:id badge )} {:hidden (fn [] (init-dashboard state))}))} [:img {:src (str "/" (:image_file badge)) :alt (:name badge) :title (:name badge)}]])
-                      ) [:div] badges)
-            ]
+           (if welcome-tip
+             [:div.pending [:p.header (str (t :social/Youdonthaveanyanybadgesyet) ".")]]
+             [:div.badges
+              [:p.header (t :social/Lastestearnedbadges)]
+              (reduce (fn [r badge]
+                        (conj r [:a {:href "#" :on-click #(do
+                                                            (.preventDefault %)
+                                                            (mo/open-modal [:badge :info] {:badge-id (:id badge )} {:hidden (fn [] (init-dashboard state))}))} [:img {:src (str "/" (:image_file badge)) :alt (:name badge) :title (:name badge)}]])
+                        ) [:div] badges)
+              ])
            [latest-earnable-badges]]]]]])))
 
 (defn explore-block [state]

            ]]]]]]]]]])

(defn profile-block [state]
  (let [user (:user-profile @state)]
    [:div.box.col-md-3
     [:div {:id "box_3"}
      [:div.col-md-12.block

       [:i.fa.fa-info-circle.icon]
       [:span.title.help (t :core/Help)]]
      [:div.content
       [:p  {:style {:font-size "20px" :color "black"} } (t :social/Iwantto)]
       [:div.content[:a {:href (str (path-for "/user/profile/") (session/get-in [:user :id]))}[:p (t :social/Iwanttoseeprofile)]]
       [:a {:href (str (path-for "/user/edit/profile"))}[:p (t :social/Iwanttoeditprofile)]]
       [:a {:href (str (path-for "/badge"))}[:p (t :social/Iwanttoseemysbadges)]]
       (when (some #(= % "extra/application") (session/get :plugins))[:p (t :social/Iwanttoearnnewbadges)])
       [:a {:href (str (path-for "/gallery/badges"))} [:p (t :social/Iwanttofindbadges)]]]]]]]])

(defn content [state]
  [:div#dashboard-container
