Merge pull request #2088 from coreos-inc/license-about-notification

Add a warning bar when the license will become invalid in a week
This commit is contained in:
josephschorr 2016-11-09 11:45:48 -05:00 committed by GitHub
commit 6200a2a49a
3 changed files with 26 additions and 3 deletions

View file

@ -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'