mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-11-18 02:40:37 -05:00
Vehicles paged by Redmine instead of will_paginate
The vehicle search, a customer's vehicles and the customer page's vehicle list use Redmine's paginator (will_paginate came from redmine_qbo's Gemfile, which no longer has it). The customer page's list keeps its own page parameter, without per-page links, and lists vehicles by year, make and model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
53991ed087
commit
d842b9b724
4 files changed
+22
-9
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<h2><%=t(:label_customer_vehicles)%> <span style="float:right"> <%= render partial: 'vehicles/search' %> </span> </h2>
|
||||
<br/>
|
||||
|
||||
<%= render partial: 'vehicles/list', locals: {vehicles: @vehicles, show_customer: true, show_checkbox: false} %>
|
||||
<%= render partial: 'vehicles/list', locals: {vehicles: @vehicles, pages: @vehicle_pages, count: @vehicle_count, show_customer: true, show_checkbox: false} %>
|
||||
Reference in new issue
Block a user