مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
initial commit from appmail
هذا الالتزام موجود في:
10
app/views/shared/_message_db_pagination.html.haml
Normal file
10
app/views/shared/_message_db_pagination.html.haml
Normal file
@@ -0,0 +1,10 @@
|
||||
.simplePagination
|
||||
%p.simplePagination__previous
|
||||
- if data[:page] > 1
|
||||
= link_to "← Previous page".html_safe, request.params.merge(:page => data[:page] - 1), :class => 'simplePagination__link'
|
||||
.simplePagination__current
|
||||
%p.simplePagination__info Showing #{number_with_delimiter data[:records].size} of #{number_with_delimiter data[:total]} #{data[:total] == 1 ? name : name.pluralize}
|
||||
%p Page #{data[:page]} of #{number_with_delimiter data[:total_pages]}
|
||||
%p.simplePagination__next
|
||||
- if data[:total_pages] > data[:page]
|
||||
= link_to "Next page →".html_safe, request.params.merge(:page => data[:page] + 1), :class => 'simplePagination__link'
|
||||
المرجع في مشكلة جديدة
حظر مستخدم