Files
mozo-backend/app/views/user/history_list.html.slim
T
2012-12-11 01:02:52 +01:00

28 lines
886 B
Plaintext

= top_bar title: 'history_list.title' do
.pull-right
.table-number
.supplier-name
dl.dl-horizontal
dt data-t="attributes.list.created_at" = List.human_attribute_name(:created_at)
dd.list-created-at
dt data-t="attributes.list.closed_at" = List.human_attribute_name(:closed_at)
dd.list-closed-at
dt data-t="models.supplier" = Supplier.model_name.human
dd.supplier-name
.well
table#history-list-table.table.list-table
thead
tr
th data-t="models.order" = Order.model_name.human
th.currency data-t="attributes.product.price" = Product.human_attribute_name(:price)
tbody
tr
td colspan=2 = slider_image
tfoot
tr
td
td.currency
strong.list-total-amount
script#active-list-order-template[type="text/html"]= render 'active_list_order.mustache'
- onload_javascript "Quser.load_history_list()"