[issue #428] Added BuildLists list to Advisory#show
This commit is contained in:
parent
db66c7b3e1
commit
fa5deed42f
|
@ -5,9 +5,7 @@
|
|||
|
||||
.leftlist= "#{t("layout.advisories.project_names")}:".html_safe
|
||||
.rightlist
|
||||
- @advisory.projects.each do |project|
|
||||
= link_to project.name, project_path(project)
|
||||
%br
|
||||
= raw @advisory.projects.map{ |p| link_to p.name, project_path(p) }.join(', ')
|
||||
.both
|
||||
|
||||
.leftlist= "#{t("activerecord.attributes.advisory.created_at")}:".html_safe
|
||||
|
@ -36,6 +34,11 @@
|
|||
%br
|
||||
.both
|
||||
|
||||
.leftlist= "#{t("layout.advisories.build_lists")}:".html_safe
|
||||
.rightlist
|
||||
= raw @advisory.build_lists.map{ |bl| link_to bl.id, build_list_path(bl) }.join(', ')
|
||||
.both
|
||||
|
||||
= render :partial => 'packages_info'
|
||||
|
||||
:javascript
|
||||
|
|
|
@ -6,6 +6,7 @@ en:
|
|||
form_header: New advisory
|
||||
project_name: Project
|
||||
project_names: Projects
|
||||
build_lists: Build Lists
|
||||
affected_versions: Affected versions
|
||||
affected_in: Affected in
|
||||
ref_comment: Add links one by row
|
||||
|
|
|
@ -6,6 +6,7 @@ ru:
|
|||
form_header: Новый бюллетень
|
||||
project_name: Проект
|
||||
project_names: Проекты
|
||||
build_lists: Сборочные листы
|
||||
affected_versions: Применен в версиях
|
||||
affected_in: Применен в
|
||||
ref_comment: Вставляйте ссылки по одной на строку
|
||||
|
|
Loading…
Reference in New Issue