mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
big commit with letters removal
This commit is contained in:
@@ -5,11 +5,7 @@
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
{% from "components/button/macro.njk" import govukButton %}
|
||||
|
||||
{% set title_status = (
|
||||
'Failed '
|
||||
if status == 'failed' and message_type == 'letter'
|
||||
else ''
|
||||
) %}
|
||||
{% set title_status = '' %}
|
||||
{% set page_title = (
|
||||
(title_status + 99|message_count_label(message_type, suffix='')) | capitalize
|
||||
if current_user.has_permissions('view_activity')
|
||||
@@ -23,15 +19,12 @@
|
||||
{% block maincolumn_content %}
|
||||
|
||||
{{ page_header(page_title) }}
|
||||
{% if not message_type == "letter" %}
|
||||
|
||||
{{ ajax_block(
|
||||
partials,
|
||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
||||
'counts'
|
||||
) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{{ ajax_block(
|
||||
partials,
|
||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
||||
'counts'
|
||||
) }}
|
||||
|
||||
{% call form_wrapper(
|
||||
action=url_for('.view_notifications', service_id=current_service.id, message_type=message_type),
|
||||
|
||||
Reference in New Issue
Block a user