mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
big commit with letters removal
This commit is contained in:
@@ -20,12 +20,10 @@
|
||||
('Providers', url_for('main.view_providers')),
|
||||
('Reports', url_for('main.platform_admin_reports')),
|
||||
('Email branding', url_for('main.email_branding')),
|
||||
('Letter branding', url_for('main.letter_branding')),
|
||||
('Inbound SMS numbers', url_for('main.inbound_sms_admin')),
|
||||
('Find services by name', url_for('main.find_services_by_name')),
|
||||
('Find users by email', url_for('main.find_users_by_email')),
|
||||
('Email complaints', url_for('main.platform_admin_list_complaints')),
|
||||
('Returned letters', url_for('main.platform_admin_returned_letters')),
|
||||
('Clear cache', url_for('main.clear_cache')),
|
||||
] %}
|
||||
<li>
|
||||
|
||||
@@ -21,14 +21,4 @@
|
||||
smaller=True
|
||||
) }}
|
||||
</div>
|
||||
<div class="govuk-grid-column-one-third">
|
||||
{{ big_number_with_status(
|
||||
global_stats.letter.requested,
|
||||
global_stats.letter.requested|message_count_label('letter'),
|
||||
global_stats.letter.failed,
|
||||
global_stats.letter.failure_rate,
|
||||
global_stats.letter.failure_rate|float > 3,
|
||||
smaller=True
|
||||
) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
('sms fragments', 'The number of text message fragments sent times the rate multiplier'),
|
||||
('sms chargeable units', 'The number of text message fragments sent'),
|
||||
('email totals', 'The number of emails sent'),
|
||||
('letter totals', 'The number of letters sent'),
|
||||
('letter sheet totals', 'The number of sheets sent')
|
||||
] %}
|
||||
{% call row() %}
|
||||
{{ text_field(column_heading) }}
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
{% for column_heading, description in [
|
||||
('sms cost', 'The total cost of text messages sent after a service has used its free allowance.'),
|
||||
('sms chargeable units', 'The number of fragments sent after a service has used its free allowance. This number takes into account the cost multiplier for <a class="govuk-link govuk-link--no-visited-state" href="https://www.notifications.service.gov.uk/pricing#international-numbers">sending international text messages</a>.' | safe),
|
||||
('letter cost', 'The total cost of letters sent by a service.'),
|
||||
('letter breakdown', 'The number of letters sent by a service, grouped by postage and unit cost.'),
|
||||
('purchase order number, contact names, contact email addresses and billing reference', 'We add this data manually based on the information we get from services. You can help by adding it to the service settings page.'),
|
||||
] %}
|
||||
{% call row() %}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{% extends "views/platform-admin/_base_template.html" %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
{% from "components/page-footer.html" import sticky_page_footer %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{{ page_title|capitalize }}
|
||||
{% endblock %}
|
||||
|
||||
{% block platform_admin_content %}
|
||||
|
||||
<h1 class="heading-medium">Submit returned letters</h1>
|
||||
{% call form_wrapper() %}
|
||||
{{ textbox(form.references, width='1-1', rows=8, autosize=True) }}
|
||||
{{ sticky_page_footer("Submit") }}
|
||||
{% endcall %}
|
||||
|
||||
{% endblock %}
|
||||
@@ -13,7 +13,6 @@
|
||||
field_headings=[
|
||||
right_aligned_field_heading('Emails'),
|
||||
right_aligned_field_heading('Text messages'),
|
||||
right_aligned_field_heading('Letters')
|
||||
],
|
||||
field_headings_visible=False,
|
||||
) %}
|
||||
@@ -33,7 +32,7 @@
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{% for channel in ('email', 'sms', 'letter') %}
|
||||
{% for channel in ('email', 'sms') %}
|
||||
{% call field(border=False) %}
|
||||
{{ big_number(
|
||||
service['stats'][channel]['requested'],
|
||||
|
||||
@@ -33,9 +33,6 @@
|
||||
('sms notifications', 'The number of text messages sent by the service.'),
|
||||
('sms chargeable units', 'The number of text message fragments times the rate multiplier sent by the service.'),
|
||||
('email totals', 'The number of emails sent by a service'),
|
||||
('letter totals', 'The number of letters sent by a service'),
|
||||
('letter costs', 'The cost of the letters, rate * letter totals'),
|
||||
('letter sheet totals', 'The number of sheet sent by a service')
|
||||
] %}
|
||||
{% call row() %}
|
||||
{{ text_field(column_heading) }}
|
||||
|
||||
Reference in New Issue
Block a user