app/views/workarea/admin/orders/attributes.html.haml in workarea-admin-3.4.45 vs app/views/workarea/admin/orders/attributes.html.haml in workarea-admin-3.5.0.beta.1
- old
+ new
@@ -66,10 +66,14 @@
%p= text_field_tag nil, @order.traffic_referrer.uri, id: 'traffic_referrer_url', class: 'text-box'
= button_tag t('workarea.admin.orders.attributes.checkout.copy_url'), data: { copy_to_clipboard: '#traffic_referrer_url' }, class: 'button button--small'
- else
= t('workarea.admin.orders.attributes.checkout.none')
%li
+ %strong= t('workarea.admin.orders.attributes.checkout.segments')
+ - @order.segments.each do |segment|
+ = link_to segment.name, segment
+ %li
%strong= t('workarea.admin.fields.updated_at')
#{local_time_ago(@order.updated_at)}
%li
%strong= t('workarea.admin.fields.created_at')
#{local_time_ago(@order.created_at)}
@@ -110,10 +114,9 @@
%tbody
%tr
%th
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.subtotal')
%td= number_to_currency @order.subtotal_price
- = append_partials('admin.order_attributes_subtotal', order: @order)
%tr
%th
%span.data-pairs__name= t('workarea.admin.orders.attributes.totals.shipping')
%td= number_to_currency @order.shipping_total
%tr