From becf38b38939324865ff37428120f115f445c522 Mon Sep 17 00:00:00 2001 From: Anthony Johnson Date: Thu, 19 Sep 2024 23:31:41 -0700 Subject: [PATCH] Make terminology and paths consistent for onboarding announcements We referred to these as `promotions` here, but as "announcements" in the templates. I think "announcements" fits better, and we already describe in documentation advertising as "promotions". --- readthedocs/projects/views/private.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readthedocs/projects/views/private.py b/readthedocs/projects/views/private.py index 36a19d8cec2..ae42051d594 100644 --- a/readthedocs/projects/views/private.py +++ b/readthedocs/projects/views/private.py @@ -143,7 +143,9 @@ def get_context_data(self, **kwargs): template_name = "security-logs.html" if template_name: - context["promotion"] = f"projects/partials/dashboard/{template_name}" + context[ + "announcement" + ] = f"projects/partials/announcements/{template_name}" return context