Merge pull request #2192 from alphagov/jobs-one-off

Show uploaded files in basic view
This commit is contained in:
Chris Hill-Scott
2018-08-02 15:23:58 +01:00
committed by GitHub
15 changed files with 205 additions and 36 deletions

View File

@@ -5,12 +5,14 @@
<div class="ajax-block-container">
{% if scheduled_jobs %}
<div class='dashboard-table'>
<h2 class="heading-medium">
In the next few days
</h2>
{% if not hide_heading %}
<h2 class="heading-medium">
In the next few days
</h2>
{% endif %}
{% call(item, row_number) list_table(
scheduled_jobs,
caption="In the next 24 hours",
caption="In the next few days",
caption_visible=False,
empty_message='Nothing to see here',
field_headings=[

View File

@@ -8,6 +8,7 @@
{% block maincolumn_content %}
<h1 class="heading-large">Uploaded files</h1>
<div class="dashboard">
{{ scheduled_jobs|safe }}
{% include 'views/dashboard/_jobs.html' %}
{{ previous_next_navigation(prev_page, next_page) }}
</div>