{# Pagination footer for ticker Timeline and Open-lots tables. Caller provides: - paginated_view: "timeline" | "lots" (drives URL view= param) - page: current page (1-based) - total_pages: int >= 1 - total_count: int (total rows across all pages) - rows_on_page: int (rows shown on this page) - page_size, page_size_options: from route #} {% if total_count and total_count > 0 %} {% set start_idx = (page - 1) * page_size + 1 %} {% set end_idx = start_idx + (rows_on_page - 1) %}