mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Show scheduled jobs on page one of the uploads page
This is the same thing we do for caseworking users who don’t have the dashboard. Since we’re going to summarise scheduled jobs on the dashboard instead of listing them they need to be listed here instead (which is where we’ll link to from the dashboard). Design of this will probably evolve as we work out how to style single letter uploads and letter jobs, but that’s OK for now because no-one has the uploads page at the moment.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
caption="Recent files uploaded",
|
||||
caption_visible=False,
|
||||
empty_message=(
|
||||
'Upload a letter and Notify will print, pack and post it for you.' if current_service.can_upload_letters else 'You have not uploaded any files recently'
|
||||
'Upload a letter and Notify will print, pack and post it for you.' if current_service.can_upload_letters else 'You have not uploaded any files yet'
|
||||
),
|
||||
field_headings=[
|
||||
'File',
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
<h1 class="heading-large">Uploads</h1>
|
||||
<div class="dashboard">
|
||||
{{ scheduled_jobs|safe }}
|
||||
{% include 'views/dashboard/_jobs.html' %}
|
||||
{% if jobs or not current_service.scheduled_jobs %}
|
||||
{% include 'views/dashboard/_jobs.html' %}
|
||||
{% endif %}
|
||||
{{ previous_next_navigation(prev_page, next_page) }}
|
||||
{% if current_service.can_upload_letters and current_user.has_permissions('send_messages') %}
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
|
||||
Reference in New Issue
Block a user