mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Don't duplicate pagination on paging
This commit is contained in:
parent
c118dab903
commit
ae607ac840
1 changed files with 4 additions and 4 deletions
|
@ -17,9 +17,9 @@
|
|||
.media
|
||||
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
|
||||
|
||||
- if @more_data_available
|
||||
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
||||
= button_to notifications_path(last_id: @notifications_last_id, type: params[:type]), class: "btn btn-light" do
|
||||
= t("voc.load")
|
||||
- if @more_data_available
|
||||
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
||||
= button_to notifications_path(last_id: @notifications_last_id, type: params[:type]), class: "btn btn-light" do
|
||||
= t("voc.load")
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
|
|
Loading…
Reference in a new issue