mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Add route for letter specification page
This commit is contained in:
@@ -386,6 +386,14 @@ def upload_a_letter():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@main.route('/using-notify/guidance/letter-specification')
|
||||||
|
def letter_specification():
|
||||||
|
return render_template(
|
||||||
|
'views/guidance/letter-specification.html',
|
||||||
|
navigation_links=using_notify_nav(),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# --- Redirects --- #
|
# --- Redirects --- #
|
||||||
|
|
||||||
@main.route('/roadmap', endpoint='old_roadmap')
|
@main.route('/roadmap', endpoint='old_roadmap')
|
||||||
|
|||||||
@@ -208,6 +208,7 @@ class HeaderNavigation(Navigation):
|
|||||||
'edit_and_format_messages',
|
'edit_and_format_messages',
|
||||||
'send_files_by_email',
|
'send_files_by_email',
|
||||||
'upload_a_letter',
|
'upload_a_letter',
|
||||||
|
'letter_specification',
|
||||||
'history',
|
'history',
|
||||||
'inbound_sms_admin',
|
'inbound_sms_admin',
|
||||||
'inbox',
|
'inbox',
|
||||||
@@ -585,6 +586,7 @@ class MainNavigation(Navigation):
|
|||||||
'edit_and_format_messages',
|
'edit_and_format_messages',
|
||||||
'send_files_by_email',
|
'send_files_by_email',
|
||||||
'upload_a_letter',
|
'upload_a_letter',
|
||||||
|
'letter_specification',
|
||||||
'history',
|
'history',
|
||||||
'how_to_pay',
|
'how_to_pay',
|
||||||
'inbound_sms_admin',
|
'inbound_sms_admin',
|
||||||
@@ -840,6 +842,7 @@ class CaseworkNavigation(Navigation):
|
|||||||
'edit_and_format_messages',
|
'edit_and_format_messages',
|
||||||
'send_files_by_email',
|
'send_files_by_email',
|
||||||
'upload_a_letter',
|
'upload_a_letter',
|
||||||
|
'letter_specification',
|
||||||
'history',
|
'history',
|
||||||
'how_to_pay',
|
'how_to_pay',
|
||||||
'inbound_sms_admin',
|
'inbound_sms_admin',
|
||||||
@@ -1153,6 +1156,7 @@ class OrgNavigation(Navigation):
|
|||||||
'edit_and_format_messages',
|
'edit_and_format_messages',
|
||||||
'send_files_by_email',
|
'send_files_by_email',
|
||||||
'upload_a_letter',
|
'upload_a_letter',
|
||||||
|
'letter_specification',
|
||||||
'history',
|
'history',
|
||||||
'how_to_pay',
|
'how_to_pay',
|
||||||
'inbound_sms_admin',
|
'inbound_sms_admin',
|
||||||
|
|||||||
@@ -20,6 +20,6 @@
|
|||||||
<li>Select <b class="govuk-!-font-weight-bold">Choose file</b>.</li>
|
<li>Select <b class="govuk-!-font-weight-bold">Choose file</b>.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p class="govuk-body">Your file must meet our <a href="#">letter specification</a>.</p>
|
<p class="govuk-body">Your file must meet our <a class="govuk-link" href="{{ url_for('main.letter_specification') }}">letter specification</a>.</p>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -623,7 +623,7 @@ LETTER_VALIDATION_MESSAGES = {
|
|||||||
'detail': (
|
'detail': (
|
||||||
'You need to change the size or orientation of {invalid_pages}. <br>'
|
'You need to change the size or orientation of {invalid_pages}. <br>'
|
||||||
'Files must meet our '
|
'Files must meet our '
|
||||||
<!--replace links to the PDF with links to the new page-->'<a class="govuk-link govuk-link--destructive" href="{letter_spec_guidance}" target="_blank">'
|
'<!--replace links to the PDF with links to the new page--><a class="govuk-link govuk-link--destructive" href="{letter_spec_guidance}" target="_blank">'
|
||||||
'letter specification'
|
'letter specification'
|
||||||
'</a>.'
|
'</a>.'
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user