43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
- content_for :head do
|
|
= javascript_include_tag 'supplier/app/application'
|
|
/.page-header= title t('supplier.lists.show.title', list: List.model_name.human)
|
|
/dl.dl-horizontal
|
|
/dt= List.human_attribute_name(:created_at)
|
|
/dd= l @list.created_at, format: :short
|
|
/dt= t('supplier.lists.show.users')
|
|
/dd= @list.users.map(&:supplier_name).join(', ')
|
|
/.display-row
|
|
/.display-label
|
|
/span data-t='attributes.list.created_at'
|
|
/.display-field
|
|
/span data-time=@list.created_at.iso8601
|
|
/.well
|
|
/table#list-table.table.list-table
|
|
/thead
|
|
/tr
|
|
/th= Order.model_name.human
|
|
/th.currency= Product.human_attribute_name(:price)
|
|
/tbody
|
|
/tr
|
|
/td colspan=2 = slider_image
|
|
/tfoot
|
|
/tr
|
|
/td
|
|
/td.currency
|
|
/strong.list-total
|
|
/script#list-order-template[type="text/html"]= render 'supplier/list_order.mustache'
|
|
/.form-actions
|
|
/= link_to t("helpers.links.back"), suppliers_lists_path(date: @list.created_at.strftime('%Y-%m-%d')), class: 'btn'
|
|
/'
|
|
/= link_to t('helpers.links.edit'), [:edit, :suppliers, @list], class: 'btn btn-info'
|
|
/- content_for :footer do
|
|
/javascript:
|
|
/jQuery(function(){
|
|
/Qsupplier.load_list('#{@list.id}');
|
|
/})
|
|
.test-div
|
|
span.fa.fa-square-o.fa-2x
|
|
span.fa-stack
|
|
i.fa.fa-square-o.fa-stack-2x
|
|
i.fa.fa-twitter.fa-stack-1x
|