From e5edbd408a3a89d5660b8c3cae94d802f7cbfbd0 Mon Sep 17 00:00:00 2001 From: Alicia Paz Date: Sat, 23 Nov 2024 11:41:16 -0600 Subject: [PATCH] Update pagy translation key (#625) * Update pagy translation key * Add movement to gap button --- Gemfile.lock | 2 +- app/views/pagy/_nav.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8f378be8..a2af62ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -339,7 +339,7 @@ GEM shellany (~> 0.0) orm_adapter (0.5.0) ostruct (0.6.0) - pagy (9.1.0) + pagy (9.3.1) parallel (1.26.3) parser (3.3.5.0) ast (~> 2.4.1) diff --git a/app/views/pagy/_nav.html.slim b/app/views/pagy/_nav.html.slim index 77e27ba0..fb88fd58 100644 --- a/app/views/pagy/_nav.html.slim +++ b/app/views/pagy/_nav.html.slim @@ -7,4 +7,4 @@ nav class="flex gap-4 justify-center my-5" role="navigation" aria-label="pager" span class="px-3 py-1 text-sm font-extrabold leading-6 text-white transition cursor-pointer hover:bg-blue-medium rounded-6px bg-blue-dark" ==> item - elsif item == :gap # page gap - span class="px-3 py-1 text-sm font-extrabold leading-6 rounded-6px text-gray-3 bg-gray-7" ==> pagy_t('pagy.nav.gap') + span class="px-3 py-1 text-sm font-extrabold leading-6 transition rounded-6px text-gray-3 hover:bg-gray-4 bg-gray-7" ==> pagy_t('pagy.gap')