paginate jobs page

(only views/jobs/jobs.html, which is the drill-down page, not the dashboard view)
This commit is contained in:
Leo Hemsted
2016-10-10 14:50:59 +01:00
parent ebb590bc5d
commit dbe4400441
4 changed files with 35 additions and 29 deletions

View File

@@ -8,7 +8,7 @@
<span class="pagination-label">{{previous_page['label']}}</span>
</a>
</li>
{% endif %}
{% endif %}
{% if next_page %}
<li class="next-page">
<a href="{{next_page['url']}}" rel="next">
@@ -19,4 +19,4 @@
{% endif %}
</ul>
</nav>
{% endmacro %}
{% endmacro %}

View File

@@ -1,3 +1,4 @@
{% from "components/previous-next-navigation.html" import previous_next_navigation %}
{% extends "withnav_template.html" %}
{% block page_title %}
@@ -8,5 +9,6 @@
<h1 class="heading-large">Uploaded files</h1>
<div class="dashboard">
{% include 'views/dashboard/_jobs.html' %}
{{ previous_next_navigation(prev_page, next_page) }}
</div>
{% endblock %}