Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to show site-wide banner announcements #517

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Mar 22, 2024

  • Use the django-constance app to add settings that can be edited in the admin
  • Add a SITE_ANNOUNCEMENT setting
  • If SITE_ANNOUNCEMENT is non-blank, show an alert with the text of the site announcement

amstilp added 3 commits March 22, 2024 14:06
Note that I had to edit the requirements manually since I can't
run pip-compile right now: no MariaDb.
Add constance to installed apps, and set the constance config for
ANNOUNCEMENT_TEXT in the settings file.
@amstilp amstilp merged commit 9366857 into main Mar 22, 2024
6 checks passed
@amstilp amstilp deleted the feature/banner-announcement branch March 22, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant