app/views/spree/admin/zones/index.html.erb in spree_backend-4.4.1 vs app/views/spree/admin/zones/index.html.erb in spree_backend-4.5.0

- old
+ new

@@ -5,13 +5,13 @@ <% content_for :page_actions do %> <%= button_link_to Spree.t(:new_zone), new_object_url, class: "btn-success", icon: 'add.svg', id: 'admin_new_zone_link' %> <% end if can? :create, Spree::Zone %> <% if @zones.any? %> -<div class="table-responsive"> +<div class="table-responsive border rounded bg-white"> <table class="table" id='listing_zones' data-hook> - <thead> + <thead class="text-muted"> <tr data-hook="zones_header"> <th><%= sort_link @search,:name, Spree.t(:name), title: 'zones_order_by_name_title' %></th> <th> <%= sort_link @search,:description, Spree.t(:description), {}, {title: 'zones_order_by_description_title'} %> </th> @@ -35,10 +35,10 @@ <% end %> </tbody> </table> </div> <% else %> - <div class="alert alert-info no-objects-found"> + <div class="text-center no-objects-found m-5"> <%= Spree.t(:no_resource_found, resource: plural_resource_name(Spree::Zone)) %>, <%= link_to(Spree.t(:add_one), new_object_url) if can? :create, Spree::Zone %>! </div> <% end %>