<%= check_box_tag "repoids[]", repo.id, false, :id=>"input_repo_#{repo.id}", :class=>"fl" %>
|
<%= @repo_status[repo.id][:sync_id] ? @repo_status[repo.id][:start_time] : _('N/A') %>
|
<%= @repo_status[repo.id][:sync_id] ? @repo_status[repo.id][:duration] : _('N/A') %>
|
<%= @repo_status[repo.id][:sync_id] ? @repo_status[repo.id][:display_size] : _('N/A')%>
|
<% if @repo_status[repo.id][:sync_id] %>
<%= @repo_status[repo.id][:state] %>
<% if @repo_status[repo.id][:error_details].present? && error_state?(@repo_status[repo.id]) %>
<% @repo_status[repo.id][:error_details][:messages].each do |error| %>
-
<%= error %>
<% end %>
<% end %>
|
<% elsif repo&.latest_sync_audit&.created_at %>
<%= _("Synced ") + time_ago_in_words(repo&.latest_sync_audit&.created_at) + _(" ago.") %>
|
<% else%>
<%= @repo_status[repo.id][:state] %>
|
<% end %>
<% if @show_org %>
|
<% end %>