Skip to content

Commit 24e0bad

Browse files
authored
Make terminology and paths consistent for onboarding announcements (readthedocs#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".
1 parent 3179613 commit 24e0bad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs/projects/views/private.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ def get_context_data(self, **kwargs):
143143
template_name = "security-logs.html"
144144

145145
if template_name:
146-
context["promotion"] = f"projects/partials/dashboard/{template_name}"
146+
context[
147+
"announcement"
148+
] = f"projects/partials/announcements/{template_name}"
147149

148150
return context
149151

0 commit comments

Comments
 (0)