Skip to content

Loading…

Add missing colon on adjustment line of admin order form #2482

Closed
wants to merge 1 commit into from

2 participants

@jphpsf

I noticed the adjustment line of the admin order form is missing a trailing : which is present for order total and subtotal.

missing-colon

The issue only affects the form. The admin order details view is fine.

@joneslee85
Spree Commerce member

Thanks @jphpsf

@radar radar added a commit that referenced this pull request
@radar radar Add : to adjustment label output in orders/form
Related to #2482
ed41823
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2013
  1. @jphpsf
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/views/spree/admin/orders/_form.html.erb
View
2 core/app/views/spree/admin/orders/_form.html.erb
@@ -28,7 +28,7 @@
<tbody id="order-charges" data-hook="admin_order_form_adjustments">
<% @order.adjustments.eligible.each do |adjustment| %>
<tr>
- <td colspan="3"><strong><%= adjustment.label %></strong></td>
+ <td colspan="3"><strong><%= adjustment.label %>:</strong></td>
<td class="total"><span><%= adjustment.display_amount %></span></td>
<td></td>
</tr>
Something went wrong with that request. Please try again.