        [: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)])
+       (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 {:class "box col-md-3"}
   [:div#box_3
    [:div.col-md-12.block
     [:div.row_2.help;.getting-started.block-content
      [:div.heading_1
       [:i.fa.fa-info-circle.icon]
       [:span.title.help (t :core/Help)]]

       [:div.profile-block.row_1;.block-content
        [:div.heading_1
         [:i.fa.fa-user.icon]
         [:a {:href (path-for "/user/profile" (get-in user [:user :id]))}[:span.title
          (t :user/Profile)]]]
        [:div.content
         (when-not (not-activated?) [:a.btn.button {:href (path-for "/user/edit/profile")} (t :page/Edit)])
         [:div.visibility
