From 24e0bad4f65092c2d22e0c88a18ba8f3add98052 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 20 Sep 2024 09:59:56 -0700 Subject: [PATCH] Make terminology and paths consistent for onboarding announcements (#11608) 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