mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
big commit with letters removal
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
<h1 h1 class="banner-title" data-module="track-error" data-error-type="letter-too-long" data-error-label="precompiled letter validation failed for service_id: {{ current_service.id }}">
|
||||
Your letter is too long
|
||||
</h1>
|
||||
<p class="govuk-body">
|
||||
Letters must be {{ letter_max_pages }} pages or less ({{ letter_max_pages // 2 }} double-sided sheets of paper).
|
||||
<br>
|
||||
Your letter is {{ page_count }} pages long.
|
||||
</p>
|
||||
@@ -1,18 +0,0 @@
|
||||
{% from "components/banner.html" import banner_wrapper %}
|
||||
|
||||
{% call banner_wrapper(type='dangerous') %}
|
||||
{% if message is string %}
|
||||
<h1 class="banner-title">
|
||||
{{ message }}
|
||||
</h1>
|
||||
{% else %}
|
||||
<h1 class="banner-title" data-module="track-error" data-error-type="{{ error_code }}" data-error-label="precompiled letter validation failed for service_id: {{ current_service.id }}">
|
||||
{{ message.title }}
|
||||
</h1>
|
||||
{% if message.detail %}
|
||||
<p class="govuk-body">
|
||||
{{ message.detail | safe }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
@@ -1,8 +0,0 @@
|
||||
<h1 class='banner-title' data-module="track-error" data-error-type="Trying to send letters in trial mode" data-error-label="{{ upload_id }}">
|
||||
You cannot send
|
||||
{{ 'this letter' if count_of_recipients == 1 else 'these letters' }}
|
||||
</h1>
|
||||
<p class="govuk-body">
|
||||
In <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.trial_mode_new') }}">trial mode</a> you
|
||||
can only preview how your letters will look
|
||||
</p>
|
||||
@@ -24,25 +24,18 @@
|
||||
{% if notifications %}
|
||||
<div class="dashboard-table bottom-gutter-3-2">
|
||||
{% endif %}
|
||||
|
||||
{% if job.template_type == 'letter' %}
|
||||
<div class="keyline-block bottom-gutter-1-2">
|
||||
{% if job.still_processing %}
|
||||
<p class="bottom-gutter hint">
|
||||
Report is {{ "{:.0f}%".format(job.percentage_complete * 0.99) }} complete…
|
||||
</p>
|
||||
{% elif notifications %}
|
||||
<p class="bottom-gutter">
|
||||
<a href="{{ download_link }}" download class="govuk-link govuk-link--no-visited-state heading-small">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||
 
|
||||
<span id="time-left">{{ time_left }}</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if job.still_processing %}
|
||||
<p class="{% if job.template_type != 'letter' %}bottom-gutter{% endif %} hint">
|
||||
Report is {{ "{:.0f}%".format(job.percentage_complete * 0.99) }} complete…
|
||||
</p>
|
||||
{% elif notifications %}
|
||||
<p class="{% if job.template_type != 'letter' %}bottom-gutter{% endif %}">
|
||||
<a href="{{ download_link }}" download class="govuk-link govuk-link--no-visited-state heading-small">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||
 
|
||||
<span id="time-left">{{ time_left }}</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if job.template_type == 'letter' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% call(item, row_number) list_table(
|
||||
notifications,
|
||||
caption=uploaded_file_name,
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<h2 class="heading-medium">
|
||||
Delivery times
|
||||
</h2>
|
||||
<p class="govuk-body">
|
||||
Letters sent before 5:30pm are dispatched the next working day (Monday to Friday).
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
First class letters are delivered one day after they're dispatched. Second class letters are delivered 2 days after they're dispatched.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
Royal Mail delivers from Monday to Saturday, excluding bank holidays.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
See a list of <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.pricing') + '#letters'}}">postage prices</a>.
|
||||
</p>
|
||||
Reference in New Issue
Block a user