2011-04-07 14:20:21 +01:00
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%th.first= t("activerecord.attributes.build_list.bs_id")
|
|
|
|
%th= t("activerecord.attributes.build_list.status")
|
2011-10-22 16:28:41 +01:00
|
|
|
%th= t("activerecord.attributes.build_list.project_version")
|
2011-04-07 14:20:21 +01:00
|
|
|
%th= t("activerecord.attributes.build_list.project")
|
|
|
|
%th= t("activerecord.attributes.build_list.arch")
|
2011-12-20 17:09:29 +00:00
|
|
|
%th= t("activerecord.attributes.build_list.user")
|
2011-12-21 18:59:19 +00:00
|
|
|
- unless @project
|
2011-10-22 16:28:41 +01:00
|
|
|
%th= t("layout.build_lists.cancel_button_header")
|
2011-04-07 14:20:21 +01:00
|
|
|
%th.last= t("activerecord.attributes.build_list.notified_at")
|
|
|
|
|
|
|
|
- build_lists.each do |build_list|
|
|
|
|
%tr{:class => cycle("odd", "even")}
|
2011-12-21 21:42:06 +00:00
|
|
|
%td= link_to (build_list.bs_id.present? ? build_list.bs_id : t("layout.build_lists.bs_id_not_set")), build_list
|
2011-04-07 14:20:21 +01:00
|
|
|
%td= build_list.human_status
|
2011-10-22 16:28:41 +01:00
|
|
|
%td= link_to build_list.project_version, "#"
|
|
|
|
%td= link_to build_list.project.name, project_path(build_list.project)
|
2011-04-07 14:20:21 +01:00
|
|
|
%td= build_list.arch.name
|
2011-12-21 18:59:19 +00:00
|
|
|
%td= build_list.user.try(:fullname)
|
|
|
|
- unless @project
|
2011-12-21 21:42:06 +00:00
|
|
|
%td= link_to t("layout.build_lists.cancel_button"), cancel_build_list_path(build_list), :method => "put", :confirm => t("layout.confirm") if build_list.can_cancel?
|
2011-04-07 14:20:21 +01:00
|
|
|
%td.last= build_list.notified_at
|
|
|
|
|
2011-12-20 17:09:29 +00:00
|
|
|
= will_paginate build_lists
|