mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Drop duplicate pagination buttons on top of tax zones config page
Showing these buttons at both the top and bottom is inconsistent with other pages like admin/users that have a similar layout and UI; they only show the buttons on the bottom.
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
%li
|
||||
= button_link_to t("spree.new_zone"), new_object_url, icon: 'icon-plus', id: 'admin_new_zone_link'
|
||||
|
||||
- _with_routes Spree::Core::Engine.routes do
|
||||
= pagy_nav @pagy
|
||||
|
||||
- if @zones.empty?
|
||||
.no-objects-found
|
||||
= t("spree.none")
|
||||
@@ -39,5 +36,6 @@
|
||||
%td.actions
|
||||
= link_to_edit zone, no_text: true
|
||||
= link_to_delete zone, no_text: true
|
||||
|
||||
- _with_routes Spree::Core::Engine.routes do
|
||||
= pagy_nav @pagy
|
||||
|
||||
Reference in New Issue
Block a user