mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 01:18:26 -04:00
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import sticky_page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/us_components/back-link/macro.njk" import govukBackLink %}
|
|
|
|
{% set page_title = 'Set inbound number' %}
|
|
|
|
{% block service_page_title %}
|
|
{{ page_title }}
|
|
{% endblock %}
|
|
|
|
{% block backLink %}
|
|
{{ govukBackLink({ "href": url_for('.service_settings', service_id=current_service.id) }) }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
{% if current_service.has_inbound_number or no_available_numbers %}
|
|
{{ page_header(page_title) }}
|
|
{% endif %}
|
|
{% if current_service.has_inbound_number %}
|
|
<p> This service already has an inbound number </p>
|
|
{% elif no_available_numbers %}
|
|
<p> No available inbound numbers </p>
|
|
{% else %}
|
|
{% call form_wrapper(class="govuk-!-margin-top-3") %}
|
|
{{ form.inbound_number(param_extensions={
|
|
'fieldset': {
|
|
'legend': {
|
|
'isPageHeading': True,
|
|
'classes': 'govuk-fieldset__legend--l'
|
|
}
|
|
}
|
|
}) }}
|
|
{{ sticky_page_footer('Save') }}
|
|
{% endcall %}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|