From 5cf921b4fefd9a7745ca2c52fa21ca48bd29c89b Mon Sep 17 00:00:00 2001 From: David Grant Date: Fri, 21 Jun 2024 12:07:04 -0700 Subject: [PATCH] Add spacing between words in notifications. (#4574) # What this PR does Add a space between "team" and the quoted team name. Currently this renders as: ``` This phone number has been connected to Grafana OnCall team"ops" ``` (which is an SMS I just received on my phone.) ## Which issue(s) this PR closes Closes [issue link here] ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes. --- engine/apps/phone_notifications/phone_backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/apps/phone_notifications/phone_backend.py b/engine/apps/phone_notifications/phone_backend.py index a8cf50d6..c3db1094 100644 --- a/engine/apps/phone_notifications/phone_backend.py +++ b/engine/apps/phone_notifications/phone_backend.py @@ -377,7 +377,7 @@ class PhoneBackend: def _notify_connected_number(self, user): text = ( - f"This phone number has been connected to Grafana OnCall team" + f"This phone number has been connected to Grafana OnCall team " f'"{user.organization.stack_slug}"\nYour Grafana OnCall <3' ) try: @@ -392,7 +392,7 @@ class PhoneBackend: def _notify_disconnected_number(self, user, number): text = ( - f"This phone number has been disconnected from Grafana OnCall team" + f"This phone number has been disconnected from Grafana OnCall team " f'"{user.organization.stack_slug}"\nYour Grafana OnCall <3' ) try: