<%= t('page.showing', model: t('activerecord.models.event_import_file')) -%>

<%= notice %>

Id: <%= @event_import_file.id -%>

<% if @event_import_file.event_import_file_name %>

<%= t('activerecord.attributes.event_import_file.event_import_file_name') -%>: <%= link_to @event_import_file.event_import_file_name, event_import_file_path(@event_import_file, format: :download) %> (<%= @event_import_file.event_import_content_type -%>)

<%= t('activerecord.attributes.event_import_file.event_import_file_size') -%>: <%= @event_import_file.event_import_file_size -%>

<% end %>

<%= t('page.created_at') -%>: <%= l(@event_import_file.created_at) if @event_import_file.created_at -%>

<%= t('activerecord.attributes.event_import_file.executed_at') -%>: <%= l(@event_import_file.executed_at) if @event_import_file.executed_at -%>

<%= t('activerecord.attributes.event_import_file.edit_mode') -%>: <%= @event_import_file.edit_mode -%>

<%= t('activerecord.attributes.event_import_file.user_encoding') -%>: <%= @event_import_file.user_encoding -%>

<%= t('activerecord.attributes.event_import_file.default_event_category_id') -%>: <%= link_to @event_import_file.default_event_category.display_name, @event_import_file.default_event_category if @event_import_file.default_event_category.try(:display_name) -%>

<%= t('activerecord.attributes.event_import_file.default_library_id') -%>: <%= link_to @event_import_file.default_library.display_name, @event_import_file.default_library if @event_import_file.default_library.try(:display_name) -%>

<%= t('activerecord.attributes.event_import_file.state') -%>: <%= localized_state(@event_import_file.current_state) -%>

<%= t('activerecord.attributes.event_import_file.error_message') -%>: <%= simple_format(@event_import_file.error_message) -%>

<%= t('activerecord.models.user') -%>: <%= link_to @event_import_file.user.username, @event_import_file.user.profile if @event_import_file.user.try(:profile) -%>

<% if @event_import_results %> <%= render 'results' %> <% end %>