improvements
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.page-header
|
||||
.table-number
|
||||
.supplier-name
|
||||
h4= t('user.active_list.title', list: List.model_name.human)
|
||||
.form-actions
|
||||
= link_to t('helpers.links.place_order'), user_list_products_path, class: ['btn btn-primary']
|
||||
|
||||
@@ -1,3 +1,19 @@
|
||||
.page-header= title 'User list history'
|
||||
p Todo
|
||||
= render template: 'lists/show'
|
||||
.page-header= title t('user.history_list.title', list: List.model_name.human)
|
||||
dl.dl-horizontal
|
||||
dt= List.human_attribute_name(:created_at)
|
||||
dd= l @list.created_at, format: :short
|
||||
.well
|
||||
table#history-list-table.table
|
||||
thead
|
||||
tr
|
||||
th= Order.model_name.human
|
||||
th.currency= Product.human_attribute_name(:price)
|
||||
tbody
|
||||
tr
|
||||
td colspan=2 = slider_image
|
||||
tfoot
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
jQuery(function(){
|
||||
Quser.load_history_list('#{@list.id}');
|
||||
})
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
.page-header
|
||||
.table-number
|
||||
.supplier-name
|
||||
h4= t('user.show_products.title', products: Product.model_name.human_plural)
|
||||
.form-actions
|
||||
= link_to t('helpers.links.show_active_list', list: List.model_name.human), user_active_list_path, class: ['btn btn']
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
.page-header
|
||||
.table-number= @table.number
|
||||
.supplier-name= @table.supplier.name
|
||||
h4= t('user.show_products.title', products: Product.model_name.human_plural)
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
|
||||
Reference in New Issue
Block a user