Redo send_messages as create_and_send_messages

Reverts changes in the following commits:
- 1e8ba88b4d
- 133a62022c
- b76066dd76

These changes `main.create_and_send_messages` to
`main.send_messages` but this name was already
taken.

Further details on Github:

https://github.com/alphagov/notifications-admin/pull/3213#pullrequestreview-348548476
This commit is contained in:
Tom Byers
2020-01-27 11:46:09 +00:00
parent 87e42cc4bb
commit a4ba99b748
3 changed files with 4 additions and 4 deletions

View File

@@ -357,9 +357,9 @@ def branding_and_customisation():
@main.route('/using-notify/guidance/create-and-send-messages')
def send_messages():
def create_and_send_messages():
return render_template(
'views/guidance/send-messages.html',
'views/guidance/create-and-send-messages.html',
navigation_links=using_notify_nav(),
)

View File

@@ -66,7 +66,7 @@ def using_notify_nav():
"sub_navigation_items": [
{
"name": "Send messages",
"link": "main.send_messages",
"link": "main.create_and_send_messages",
},
{
"name": "Formatting",

View File

@@ -15,7 +15,7 @@
<p>It explains how to:</p>
<ul class="list list-bullet">
<li><a href="{{ url_for('.create_and_send_messages') }}">send messages</a></li>
<li><a href="{{ url_for('.create_and_send_messages') }}">create and send messages</a></li>
<li><a href="{{ url_for('.edit_and_format_messages') }}">edit and format messages</a></li>
<li>add <a href="{{ url_for('.branding_and_customisation') }}">branding and customisation</a></li>
<li><a href="{{ url_for('.send_files_by_email') }}">send files by email</a></li>