<% unless with_environment %> <% content_for :js do %> <%= javascript_include_tag 'views/ieducar_api_configurations/sync' %> <% end %> <% end %> <% sync_id = SecureRandom.uuid %> <% if with_environment %> <%= entity_name %> <% end %> <%= l(sync.started_at, format: :short) if sync.started_at %> <%= l(sync.ended_at, format: :short) if sync.ended_at %> <%= sync.time_running %> minutos <%= "#{average_time} minutos" if average_time %> <%= t("enumerations.api_synchronization_status.#{sync.status}") %> <% if sync.started? %> <%= "(#{sync.done_percentage}%)".html_safe %> <% end %> <% if sync.error? %> <% end %> <% if sync.error? %> <% end %>