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 banner option in settings #2492

Merged
merged 16 commits into from Jun 16, 2020
Merged

Conversation

JulienParis
Copy link
Contributor

@JulienParis JulienParis commented Jun 10, 2020

adding very little settings to allow banner display...

PR parallel to : etalab/udata-gouvfr#480

  • to be cleaned from comments
  • add banner html example ?
  • try banner on default theme ?
  • add test

@JulienParis
Copy link
Contributor Author

Just needed to inject the banner settings to the context, either on homepage or others to make the banner visible on every page...

@JulienParis
Copy link
Contributor Author

Capture d’écran 2020-06-11 à 08 10 39

@JulienParis
Copy link
Contributor Author

Capture d’écran 2020-06-11 à 08 10 49

@JulienParis JulienParis requested a review from abulte June 11, 2020 06:47
@JulienParis JulienParis self-assigned this Jun 11, 2020
udata/core/site/views.py Outdated Show resolved Hide resolved
udata/frontend/views.py Outdated Show resolved Hide resolved
udata/frontend/views.py Outdated Show resolved Hide resolved
@abulte abulte marked this pull request as ready for review June 11, 2020 07:29
Copy link
Contributor

@abulte abulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a CHANGELOG entry and it should be OK

@JulienParis JulienParis changed the title Julien/banner Add banner option in settings Jun 12, 2020
udata/settings.py Outdated Show resolved Hide resolved
udata/settings.py Outdated Show resolved Hide resolved
@abulte abulte merged commit 96d70fa into opendatateam:master Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants