app/views/spree/admin/promotions/edit.html.erb in solidus_backend-2.7.4 vs app/views/spree/admin/promotions/edit.html.erb in solidus_backend-2.8.0
- old
+ new
@@ -4,10 +4,12 @@
<% admin_breadcrumb(@promotion.name) %>
<% content_for :page_actions do %>
<li>
<% if can?(:display, Spree::PromotionCode) %>
- <%= link_to t('spree.download_promotion_code_list'), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), class: 'btn btn-primary' %>
+ <%= link_to t('spree.view_promotion_codes_list'), admin_promotion_promotion_codes_path(promotion_id: @promotion.id), class: 'btn btn-primary' %>
+
+ <%= link_to t('spree.download_promotion_codes_list'), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), class: 'btn btn-primary' %>
<% end %>
<% if can?(:display, Spree::PromotionCodeBatch) %>
<%= link_to plural_resource_name(Spree::PromotionCodeBatch), admin_promotion_promotion_code_batches_path(promotion_id: @promotion.id), class: 'btn btn-primary' %>
<% end %>