mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Merge pull request #326 from alphagov/dashboard-link-to-jobs
Updated the dashboard link to jobs to be more accurate
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{% call(item) list_table(
|
{% call(item) list_table(
|
||||||
jobs,
|
jobs,
|
||||||
caption="Recent batch jobs",
|
caption="Recent batch jobs",
|
||||||
empty_message='You haven’t sent any text messages yet',
|
empty_message='You haven’t sent any batch messages yet',
|
||||||
field_headings=['File', 'Started', right_aligned_field_heading('Rows')]
|
field_headings=['File', 'Started', right_aligned_field_heading('Rows')]
|
||||||
) %}
|
) %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
{% if more_jobs_to_show %}
|
{% if more_jobs_to_show %}
|
||||||
{% if current_user.has_permissions(['send_texts', 'send_emails', 'send_letters']) %}
|
{% if current_user.has_permissions(['send_texts', 'send_emails', 'send_letters']) %}
|
||||||
<p class="table-show-more-link">
|
<p class="table-show-more-link">
|
||||||
<a href="{{ url_for('.view_jobs', service_id=service_id) }}">See all sent text messages</a>
|
<a href="{{ url_for('.view_jobs', service_id=service_id) }}">See all sent batch messages</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
{% call(item) list_table(
|
{% call(item) list_table(
|
||||||
jobs,
|
jobs,
|
||||||
caption="Recent text messages",
|
caption="Recent text messages",
|
||||||
empty_message='You haven’t sent any text messages yet',
|
empty_message='You haven’t sent any batch messages yet',
|
||||||
field_headings=['Job', 'Created', right_aligned_field_heading('completion')]
|
field_headings=['Job', 'Created', right_aligned_field_heading('completion')]
|
||||||
) %}
|
) %}
|
||||||
{% call field() %}
|
{% call field() %}
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
{% if more_jobs_to_show %}
|
{% if more_jobs_to_show %}
|
||||||
{% if current_user.has_permissions(permissions=['send_texts', 'send_emails', 'send_letters']) %}
|
{% if current_user.has_permissions(permissions=['send_texts', 'send_emails', 'send_letters']) %}
|
||||||
<p class="table-show-more-link">
|
<p class="table-show-more-link">
|
||||||
<a href="{{ url_for('.view_notifications', service_id=service_id) }}">See all sent text messages</a>
|
<a href="{{ url_for('.view_notifications', service_id=service_id) }}">See all sent batch messages</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user