Skip to content

Commit

Permalink
Merge branch '6917-admin-print-view' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
garethrees committed Nov 9, 2022
2 parents 8ef6bc2 + b5a76b4 commit c2b1b37
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/tags/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
</div>
</div>

<%= will_paginate(@tags, class: 'paginator') %>
<%= will_paginate(@tags) %>
2 changes: 1 addition & 1 deletion app/views/admin/tags/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
</div>
</div>

<%= will_paginate(@taggings, class: 'paginator') %>
<%= will_paginate(@taggings) %>
2 changes: 1 addition & 1 deletion app/views/admin/users/sign_ins/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
<%= render partial: 'admin/users/sign_in_table',
locals: { sign_ins: @sign_ins } %>

<%= will_paginate(@sign_ins, class: 'paginator') %>
<%= will_paginate(@sign_ins) %>
2 changes: 1 addition & 1 deletion app/views/admin_announcements/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<%= render partial: 'show',
locals: { announcements: @announcements } %>

<%= will_paginate(@announcements, class: 'paginator' ) %>
<%= will_paginate(@announcements) %>
2 changes: 1 addition & 1 deletion app/views/admin_comment/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<%= render partial: 'admin_request/some_annotations' ,
locals: { comments: @comments } %>

<%= will_paginate(@comments, class: 'paginator') %>
<%= will_paginate(@comments) %>
2 changes: 1 addition & 1 deletion app/views/admin_general/timeline.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<% end %>
<% end %>

<%= will_paginate(@events, :class => 'paginator') %>
<%= will_paginate(@events) %>

<% if not @events.empty? %>
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin_public_body/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
<%= render :partial => 'one_list', :locals => { :bodies => @public_bodies, :table_name => 'substring' } %>
<% end %>

<%= will_paginate(@public_bodies, :class => "paginator") %>
<%= will_paginate(@public_bodies) %>
8 changes: 6 additions & 2 deletions app/views/admin_request/_some_requests.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<div class="accordion" id="requests">
<%= render partial: 'admin_request/info_request', collection: info_requests %>
<% if info_requests.any? %>
<%= render partial: 'admin_request/info_request', collection: info_requests %>
<%= will_paginate(info_requests) %>
<% else %>
<p>None yet.</p>
<% end %>
</div>
<%= will_paginate(info_requests, :class => "paginator") %>
2 changes: 1 addition & 1 deletion app/views/admin_track/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<%= render :partial => 'some_tracks', :locals => { :track_things => @admin_tracks } %>

<%= will_paginate(@admin_tracks, :class => "paginator" ) %>
<%= will_paginate(@admin_tracks) %>

<h2>Current top tracks:</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin_user/_user_table.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
<% end %>
</div>

<%= will_paginate(users, :class => "paginator") %>
<%= will_paginate(users) %>

0 comments on commit c2b1b37

Please sign in to comment.