Add a warning bar when the license will become invalid in a week
This commit is contained in:
parent
9aac68fbeb
commit
74c3346562
3 changed files with 26 additions and 3 deletions
|
@ -231,6 +231,7 @@ def render_page_template(name, route_data=None, **kwargs):
|
|||
preferred_scheme=app.config['PREFERRED_URL_SCHEME'],
|
||||
version_number=version_number,
|
||||
license_insufficient=license_validator.insufficient,
|
||||
license_expiring=license_validator.expiring_soon,
|
||||
**kwargs))
|
||||
|
||||
resp.headers['X-FRAME-OPTIONS'] = 'DENY'
|
||||
|
|
Reference in a new issue