Don't duplicate pagination on paging
This commit is contained in:
parent
c118dab903
commit
ae607ac840
|
@ -17,9 +17,9 @@
|
||||||
.media
|
.media
|
||||||
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
|
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
|
||||||
|
|
||||||
- if @more_data_available
|
- if @more_data_available
|
||||||
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
.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
|
= button_to notifications_path(last_id: @notifications_last_id, type: params[:type]), class: "btn btn-light" do
|
||||||
= t("voc.load")
|
= t("voc.load")
|
||||||
|
|
||||||
- provide(:title, generate_title(t(".title")))
|
- provide(:title, generate_title(t(".title")))
|
||||||
|
|
Loading…
Reference in New Issue