Files
mozo-backend/app/views/user/history_list.html.slim
T

23 lines
941 B
Plaintext

.page-header
h1.page-title data-t="history_list.title" = t('user.history_list.title', list: List.model_name.human)
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
script#active-list-order-template[type="text/html"]= render 'active_list_order.mustache'
script#active-list-orders-footer-template[type="text/html"]= render 'active_list_orders_footer.mustache'
- onload_javascript "Quser.load_history_list()"