Skip to content

Commit

Permalink
Add banner option in settings (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienParis committed Jun 16, 2020
1 parent 01534c6 commit 96d70fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

- Nothing yet

## 2.0.5 (2020-06-11)

- Adding banner options in settings for a potential use in an udata's theme [#2492](https://github.com/opendatateam/udata/pull/2492)

## 2.0.4 (2020-05-04)

- Fix export-csv command (py3 compat) [#2472](https://github.com/opendatateam/udata/pull/2472)
Expand Down
3 changes: 3 additions & 0 deletions udata/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ class Defaults(object):

API_DOC_EXTERNAL_LINK = 'https://doc.data.gouv.fr/api/reference/'

# Global banner parameters
BANNER_ACTIVATED = False
BANNER_HTML_FILENAME = ''

class Testing(object):
'''Sane values for testing. Should be applied as override'''
Expand Down

0 comments on commit 96d70fa

Please sign in to comment.