104 lines
3.3 KiB
Plaintext
104 lines
3.3 KiB
Plaintext
.block
|
|
.secondary-navigation
|
|
%ul.wat-cf
|
|
%li.first= link_to t("layout.build_lists.current"), project_path(@project) + "#build_lists"
|
|
%li= link_to t("layout.build_lists.all"), project_build_lists_path(@project)
|
|
%li.active= link_to t("layout.build_lists.show"), project_build_list_path(@project, @build_list)
|
|
|
|
.content
|
|
.inner
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.name")
|
|
\:
|
|
= @build_list.present? ? @build_list.name : t("layout.build_lists.name_not_yet_defined")
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.bs_id")
|
|
\:
|
|
= @build_list.bs_id
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.container_path")
|
|
\:
|
|
- if @build_list.container_path.present?
|
|
- container_url = "http://#{request.host_with_port}/downloads#{@build_list.container_path}"
|
|
= link_to container_url, container_url
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.bpl")
|
|
\:
|
|
= @build_list.bpl.name
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.pl")
|
|
\:
|
|
= @build_list.pl.name
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.update_type")
|
|
\:
|
|
= @build_list.update_type
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.build_requires")
|
|
\:
|
|
= @build_list.build_requires
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.status")
|
|
\:
|
|
= @build_list.human_status
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.project_version")
|
|
\:
|
|
= @build_list.project_version
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.project")
|
|
\:
|
|
= @build_list.project.name
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.arch")
|
|
\:
|
|
= @build_list.arch.name
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.notified_at")
|
|
\:
|
|
= @build_list.notified_at
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.build_list.is_circle")
|
|
\:
|
|
= t("layout.#{@build_list.is_circle?}_")
|
|
|
|
- if @build_list.can_published?
|
|
.wat-cf
|
|
= link_to image_tag("web-app-theme/icons/tick.png", :alt => t("layout.publish")) + " " + t("layout.publish"), publish_project_build_list_path(@project, @build_list), :method => "post", :class => "button", :confirm => t("layout.build_lists.confirm_publish")
|
|
|
|
.block
|
|
.content
|
|
%h2= t("layout.build_lists.items_header")
|
|
|
|
.inner
|
|
- if @item_groups.blank?
|
|
= t("layout.build_lists.no_items_data")
|
|
|
|
- @item_groups.each_with_index do |group, level|
|
|
%h3.title Level ##{level}
|
|
%table.table
|
|
%tr
|
|
%th.first= t("activerecord.attributes.build_list/item.name")
|
|
%th= t("activerecord.attributes.build_list/item.version")
|
|
%th.last= t("activerecord.attributes.build_list/item.status")
|
|
|
|
- group.each do |item|
|
|
%tr{:class => cycle("odd", "even")}
|
|
%td= item.name
|
|
%td= item.version
|
|
%td.last= item.human_status
|
|
|
|
- content_for :sidebar, render(:partial => 'sidebar') |