[refs #344] Add link to product into product build lists list
This commit is contained in:
parent
9ee350b007
commit
c6d30b7ff3
|
@ -2,5 +2,6 @@
|
|||
%td= product_build_list.id
|
||||
%td= product_build_list.human_status
|
||||
%td= link_to nil, product_build_list.container_path
|
||||
%td= link_to product_build_list.product, platform_product_path(product_build_list.product.platform, product_build_list.product)
|
||||
%td= link_to image_tag('x.png'), platform_product_product_build_list_path(product_build_list.product.platform, product_build_list.product, product_build_list), :method => :delete, :confirm => t("layout.confirm") if can? :destroy, product_build_list
|
||||
%td= l(product_build_list.notified_at, :format => :long)
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
%th= t("activerecord.attributes.product_build_list.id")
|
||||
%th= t("activerecord.attributes.product_build_list.status")
|
||||
%th= t("activerecord.attributes.product_build_list.container_path")
|
||||
%th= t("layout.product_build_lists.product")
|
||||
%th= t("layout.product_build_lists.action")
|
||||
%th= t("activerecord.attributes.product_build_list.notified_at")
|
||||
%tbody= render @product.product_build_lists.default_order
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
# encoding: UTF-8
|
||||
# This file is auto-generated from the current state of the database. Instead
|
||||
# of editing this file, please use the migrations feature of Active Record to
|
||||
# incrementally modify your database, and then regenerate this schema definition.
|
||||
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20120321130436) do
|
||||
ActiveRecord::Schema.define(:version => 20120326142636) do
|
||||
|
||||
create_table "activity_feeds", :force => true do |t|
|
||||
t.integer "user_id", :null => false
|
||||
|
|
Loading…
Reference in New Issue