rosa-build/app/views/advisories/_packages_info.html.haml

21 lines
750 B
Plaintext
Raw Normal View History

.packages_info_container
%h3= t('layout.advisories.affected_in')
%ul.platforms
- @packages_info.each_pair do |platform, projects|
%li
%p= raw "#{t('activerecord.models.platform')} #{ link_to platform.name, platform_path(platform) }"
%ul
- projects.each_pair do |project, packages|
%li
%p= raw "#{ t('activerecord.models.project') } #{ link_to project.name, project_path(project) }"
%ul
%li
%p= "SRPM:"
%ul
%li= project.srpm_file_name
%li
%p= "RPM:"
%ul
- packages.each do |package|
%li= package.fullname