<%= _("SYNC SUMMARY") %>

<%= _("The synchronization of \"%s\" has completed. Below is a summary of new errata.") % @repo.name %> <% if @errata_counts[:total] > 100 %> <%= _("A large number of errata were synced for this repository, so only the first 100 are shown.") %> <% end -%>

<%= _("New Errata") %>

<%= link_to(@errata_counts[:security], repository_erratum_path(@repo, 'security')).html_safe %>

SECURITY

<%= link_to(@errata_counts[:bugfix], repository_erratum_path(@repo, 'bugfix')).html_safe %>

BUGFIX

<%= link_to(@errata_counts[:enhancement], repository_erratum_path(@repo, 'enhancement')).html_safe %>

ENHANCEMENT

<% ['security', 'bugfix', 'enhancement'].each do |errata_type| %> <% next if @errata[errata_type].nil? %>

<%= _("%s Errata") % errata_type.titleize %>

<% @errata[errata_type].each do |erratum| %> <%= render :partial => 'erratum', :locals => {:erratum => erratum} %>

<% end -%> <% end -%>