<%= 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] %> <% 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 %>