Limit number of jobs on dashboard to 5

…and add a link to view the rest of the jobs if there are more than 5.
This commit is contained in:
Chris Hill-Scott
2016-02-04 17:13:57 +00:00
parent cf08f4ef2a
commit 7e670d9662
3 changed files with 14 additions and 1 deletions

View File

@@ -58,6 +58,11 @@
{{ item.status }}
{% endcall %}
{% endcall %}
{% if more_jobs_to_show %}
<p class="table-show-more-link">
<a href="{{ url_for('.view_jobs', service_id=service_id) }}">See all sent text messages</a>
</p>
{% endif %}
{% endif %}
{% endblock %}