                              [:td [:div (case (:type e)
                                           "page" (t :social/Emailpage)
                                           "badge" (t :social/Emailbadge)
-                                           "user" (lower-case (t :social/User))
+                                          "user" (lower-case (t :social/User))
                                           "admin" (lower-case (t :admin/Admin))
                                           "-")]]
                              [:td [:div (case (str (:verb e)(:type e))

            [salava.user.ui.profile :as profile]
            [salava.core.ui.modal :as mo]
            [salava.core.i18n :refer [t translate-text]]
            [clojure.string :refer [capitalize lower-case upper-case]]))

(defn export-data-to-pdf [state]
  (let [user-id (:user-id @state)]

           [:div.row
            [:div.col-xs-12 [:b (t :user/UserID)": "] id]
            [:div.col-xs-12 [:b (str (t :user/Role) ": ")] (if (= "user" role) (t :social/User) (t :admin/Admin))]
            (when-not (blank? first_name)
              [:div.col-xs-12 [:b (str (t :user/Firstname)": ")] (capitalize first_name)])
            (when-not (blank? last_name)
              [:div.col-xs-12 {:style {:margin-bottom "20px"}} [:b (str (t :user/Lastname)": ")] (capitalize last_name)])
            (if (not-empty about)
              [:div
               [:div.col-xs-12 [:b (t :user/Aboutme) ":"]]
