From 0777ccf10520a4bb878bcbaac83d2d1958f5ed60 Mon Sep 17 00:00:00 2001
From: spatel033 <177532680+spatel033@users.noreply.github.com>
Date: Fri, 27 Dec 2024 12:42:26 +0000
Subject: [PATCH] Update join a service templates

The contents for join a service templates have been updated in prodution and current versions of dev are out dated. Update the migration files so dev templates are updated when creating new environment.
---
 migrations/versions/0438_request_invite_templates.py | 4 ++--
 migrations/versions/0467_svc_join_approved_tmp.py    | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/migrations/versions/0438_request_invite_templates.py b/migrations/versions/0438_request_invite_templates.py
index fa3df14ea6..7ba0448cd1 100644
--- a/migrations/versions/0438_request_invite_templates.py
+++ b/migrations/versions/0438_request_invite_templates.py
@@ -60,7 +60,7 @@
 
         ((service_admin_names))
 
-        If they do not reply, you can [ask a different team member to approve your request]((url_ask_to_join_page)).
+        If they do not reply, you can [ask a different team member to approve your request](((url_ask_to_join_page))).
 
         Thanks
 
@@ -146,7 +146,7 @@ def upgrade():
                 'You have asked to join a GOV.UK Notify service',
                 'email',
                 current_timestamp,
-                '',
+                'You have asked to join a GOV.UK Notify service',
                 '{receipt_for_request_invite_to_a_service_template_content}',
                 false,
                 '{current_app.config["NOTIFY_SERVICE_ID"]}',
diff --git a/migrations/versions/0467_svc_join_approved_tmp.py b/migrations/versions/0467_svc_join_approved_tmp.py
index 169305fc09..1674b90417 100644
--- a/migrations/versions/0467_svc_join_approved_tmp.py
+++ b/migrations/versions/0467_svc_join_approved_tmp.py
@@ -9,10 +9,15 @@
 template_content = textwrap.dedent(
     """
         Hi ((requester_name))
+
         ((approver_name)) has approved your request to join the following GOV.UK Notify service:
+
         ^[((service_name))](((dashboard_url)))
+
         Sign in to GOV.UK Notify to get started.
+
         Thanks
+
         GOV.​UK Notify
         https://www.gov.uk/notify
     """