                                  (= "blog" field) (hyperlink value)
                                  :else (t value))]]))]]])
 
-            [:div.col-xs-12 [:b (t :user/Language)": "] (upper-case language)]
+            (when-not (blank? language) [:div.col-xs-12 [:b (t :user/Language)": "] (upper-case language)])
             [:div.col-xs-12 [:b (t :user/Country)": "] country]
             [:div.col-xs-12 [:b (str (t :user/Emailnotifications) ": ")]  (if (true? email_notifications) (t :core/Yes) (t :core/No)) #_(str email_notifications)]
             [:div.col-xs-12 [:b (str (t :user/Privateprofile) ": ")] (if (true? private) (t :core/Yes) (t :core/No))]
             [:div.col-xs-12 [:b (str (t :user/Activated) ": ")] (if (true? activated?) (t :core/Yes) (t :core/No))]
-            [:div.col-xs-12 {:style {:margin-bottom "20px"}} [:b (str (t :user/Profilevisibility) ": ")] (t (keyword (str "core/"(capitalize profile_visibility))))]]]]
+            (when-not (blank? profile_visibility)
+              [:div.col-xs-12 {:style {:margin-bottom "20px"}} [:b (str (t :user/Profilevisibility) ": ")] (t (keyword (str "core/"(capitalize profile_visibility))))])]]]
 
          [:div {:class "col-md-12 col-sm-9 col-xs-12"}
           [:h2 {:class "uppercase-header"} [:a {:href (path-for "/user/edit/email-addresses")} (str (if (empty? (rest email)) (t :user/Email) (t :user/Emailaddresses)))]]

            [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)]

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