Skip to content

Commit

Permalink
Make terminology and paths consistent for onboarding announcements (#…
Browse files Browse the repository at this point in the history
…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".
  • Loading branch information
agjohnson authored Sep 20, 2024
1 parent 3179613 commit 24e0bad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readthedocs/projects/views/private.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 24e0bad

Please sign in to comment.