Remove unused template.

Revert formatting changes
This commit is contained in:
Rebecca Law
2017-08-21 13:47:24 +01:00
parent f0944fd421
commit 6b04373bcf
2 changed files with 41 additions and 75 deletions

View File

@@ -1,33 +0,0 @@
{% extends "withnav_template.html" %}
{% from "components/table.html" import text_field, edit_field %}
{% from "components/page-footer.html" import page_footer %}
{% block service_page_title %}
Inbound SMS Assigned Number
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">Inbound SMS Assigned Nubmer</h1>
<p>
The following number has been assigned to your inbound sms service.
</p>
<p style="font-weight:bold;">
{{inbound_number}}
</p>
<p>
If you would like to continue and activate the inbound sms service, please click the confirm button.
</p>
<form method="post">
{{ page_footer(
'Confirm',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
{% endblock %}

View File

@@ -13,7 +13,6 @@ from app.notify_client.models import (
User, User,
InvitedUser InvitedUser
) )
from . import ( from . import (
service_json, service_json,
TestClient, TestClient,
@@ -519,6 +518,7 @@ def mock_get_service_templates(mocker):
@pytest.fixture(scope='function') @pytest.fixture(scope='function')
def mock_get_service_templates_when_no_templates_exist(mocker): def mock_get_service_templates_when_no_templates_exist(mocker):
def _create(service_id): def _create(service_id):
return {'data': []} return {'data': []}
@@ -529,6 +529,7 @@ def mock_get_service_templates_when_no_templates_exist(mocker):
@pytest.fixture(scope='function') @pytest.fixture(scope='function')
def mock_get_service_templates_with_only_one_template(mocker): def mock_get_service_templates_with_only_one_template(mocker):
def _get(service_id): def _get(service_id):
return {'data': [ return {'data': [
template_json( template_json(
@@ -1449,7 +1450,6 @@ def mock_get_monthly_template_statistics(mocker, service_one, fake_uuid):
} }
} }
} }
return mocker.patch( return mocker.patch(
'app.template_statistics_client.get_monthly_template_statistics_for_service', 'app.template_statistics_client.get_monthly_template_statistics_for_service',
side_effect=_stats side_effect=_stats
@@ -1471,7 +1471,6 @@ def mock_get_monthly_notification_stats(mocker, service_one, fake_uuid):
}, },
} }
}} }}
return mocker.patch( return mocker.patch(
'app.service_api_client.get_monthly_notification_stats', 'app.service_api_client.get_monthly_notification_stats',
side_effect=_stats side_effect=_stats