fix empty pagination div
This commit is contained in:
parent
4324ba31c5
commit
a59a5d0557
1 changed files with 5 additions and 3 deletions
|
@ -31,9 +31,11 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="centerContent pagination">
|
||||
<%= paginate @notifications %>
|
||||
</div>
|
||||
<% if @notifications.total_pages > 1 %>
|
||||
<div class="centerContent pagination">
|
||||
<%= paginate @notifications %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render partial: 'shared/back_to_mapping' %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue