about summary refs log tree commit diff
path: root/app/views/kaminari/_gap.html.haml
diff options
context:
space:
mode:
authormogamin <5103195+mgmn@users.noreply.github.com>2023-03-29 20:54:33 +0900
committerGitHub <noreply@github.com>2023-03-29 13:54:33 +0200
commit9c8456300888cd022bc17ba1b447d5366e87056d (patch)
treeaf52fa93e8315aedd03ef23b209217ccdc6f79eb /app/views/kaminari/_gap.html.haml
parentcb9cc09a6dc1acb3c8b1b353d395b0aa73491c83 (diff)
Fix missing translation in pagination gap tags (#24262)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Diffstat (limited to 'app/views/kaminari/_gap.html.haml')
-rw-r--r--app/views/kaminari/_gap.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/kaminari/_gap.html.haml b/app/views/kaminari/_gap.html.haml
new file mode 100644
index 000000000..0f9cff8fe
--- /dev/null
+++ b/app/views/kaminari/_gap.html.haml
@@ -0,0 +1,9 @@
+-#
+  Non-link tag that stands for skipped pages...
+  available local variables
+    current_page:  a page object for the currently displayed page
+    total_pages:   total number of pages
+    per_page:      number of items to fetch per page
+    remote:        data-remote
+%span.page.gap
+  != t('pagination.truncate')