improve user client side translations

This commit is contained in:
2012-11-22 16:42:54 +01:00
parent 6251d07a5a
commit 88489804db
7 changed files with 40 additions and 17 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
.page-header
.table-number
.supplier-name
h4= t('user.active_list.title', list: List.model_name.human)
h4 data-t="active_list.title" = t('user.active_list.title', list: List.model_name.human)
.form-actions
= link_to t('helpers.links.place_order'), user_list_products_path, class: ['user-top-button'], id: 'place-order-on-list'
span#list-needs-payment-button.user-top-button
@@ -10,8 +10,8 @@
table#active-list-table.table
thead
tr
th= Order.model_name.human
th.currency= Product.human_attribute_name(:price)
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