mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 06:18:25 -04:00
Remove jobs/_scheduled.html template
From what I can determine, the last include for this template was removed in: https://github.com/alphagov/notifications-admin/pull/3338 This assumes that it should have been removed then so removes it now.
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %}
|
|
||||||
{% from "components/big-number.html" import big_number %}
|
|
||||||
{% from "components/show-more.html" import show_more %}
|
|
||||||
|
|
||||||
{% if current_service.scheduled_jobs %}
|
|
||||||
<div class='dashboard-table'>
|
|
||||||
{% call(item, row_number) list_table(
|
|
||||||
current_service.scheduled_jobs,
|
|
||||||
caption="In the next few days",
|
|
||||||
caption_visible=False,
|
|
||||||
empty_message='Nothing to see here',
|
|
||||||
field_headings=[
|
|
||||||
'File',
|
|
||||||
'Messages to be sent'
|
|
||||||
],
|
|
||||||
field_headings_visible=True
|
|
||||||
) %}
|
|
||||||
{% call row_heading() %}
|
|
||||||
<div class="file-list">
|
|
||||||
<a class="file-list-filename" href="{{ url_for('.view_job', service_id=current_service.id, job_id=item.id) }}">{{ item.original_file_name }}</a>
|
|
||||||
<span class="file-list-hint">
|
|
||||||
Sending {{ item.scheduled_for|format_datetime_relative }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{% endcall %}
|
|
||||||
{% call field() %}
|
|
||||||
{{ big_number(
|
|
||||||
item.notification_count,
|
|
||||||
smallest=True
|
|
||||||
) }}
|
|
||||||
{% endcall %}
|
|
||||||
{% endcall %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
Reference in New Issue
Block a user