Skip to content

Commit

Permalink
Use short format
Browse files Browse the repository at this point in the history
The long one takes away a lot of row space.
  • Loading branch information
mamhoff committed Nov 8, 2023
1 parent 4ffbc67 commit beeab14
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
<%= promotion.usage_count %> / <%= promotion.usage_limit %>
<% end %>
<td>
<%= l(promotion.starts_at) if promotion.starts_at %>
<%= l(promotion.starts_at, format: :short) if promotion.starts_at %>
</td>
<td>
<%= l(promotion.expires_at) if promotion.expires_at %>
<%= l(promotion.expires_at, format: :short) if promotion.expires_at %>
</td>
<td>
<%= SolidusFriendlyPromotions::Promotion.human_enum_name(:lane, promotion.lane) %>
</td>
<td>
<%= l(promotion.updated_at) %>
<%= l(promotion.updated_at, format: :short) %>
</td>
<td class="actions">
<% if can?(:edit, promotion) %>
Expand Down

0 comments on commit beeab14

Please sign in to comment.