                      :error nil
                      :ajax-message nil
                      :all-selected false
-                     :ok-badges []})]
+                     :ok-badges []
+                     :display "none"})]
     (init-data state)
     (fn []
-      (cond 
+      (cond
         (= "initial" (:permission @state)) (layout/default site-navi [:div ])
         (= "success" (:permission @state))(layout/default site-navi (content state))
         :else(layout/default site-navi (err/error-content))))))

    [:a {:href (path-for "/badge/mybadges")} (t :badge/Mybadges)]
    " " (t :badge/Importbadgesresults3) "."]])

(defn content [state]
  [:div {:class "import-badges"}
   [m/modal-window]
   [:h1.uppercase-header (t :badge/Importfrom)]
   [import-info]
   (not-activated-banner)
   [:div.import-button
    (if (:ajax-message @state)
      [:div.ajax-message

            [salava.core.ui.notactivated :refer [not-activated-banner]]
            [salava.core.helper :refer [dump]]
            [salava.core.ui.error :as err]
            [salava.core.i18n :refer [t translate-text]]
            [salava.badge.ui.upload :as upload]))


(defn import-modal [{:keys [status message saved-count error-count]}]
