$CURRENT_YEAR

This commit is contained in:
Joseph Schorr 2017-03-29 16:56:21 -04:00
parent b4e79206a0
commit e142ad8e3d
2 changed files with 3 additions and 2 deletions

View file

@ -215,7 +215,7 @@ def render_page_template(name, route_data=None, **kwargs):
version_number = ''
if not features.BILLING:
version_number = ' - ' + _get_version_number()
version_number = 'Quay %s' % _get_version_number()
resp = make_response(render_template(name,
route_data=route_data,
@ -248,6 +248,7 @@ def render_page_template(name, route_data=None, **kwargs):
version_number=version_number,
license_insufficient=license_validator.insufficient,
license_expiring=license_validator.expiring_soon,
current_year=datetime.datetime.now().year,
**kwargs))
resp.headers['X-FRAME-OPTIONS'] = 'DENY'

View file

@ -172,7 +172,7 @@ mixpanel.init("{{ mixpanel_key }}", { track_pageview : false, debug: {{ is_debug
<nav id="co-l-footer" class="page-footer hidden-xs">
<div class="col-md-8">
<ul>
<li><span class="copyright">&copy;2016 CoreOS, Inc. {{ version_number }}</span></li>
<li><span class="copyright">{{ version_number }} &copy;2014-{{ current_year }} CoreOS, Inc.</span></li>
<li quay-require="['BILLING']"><a href="/tos" target="_self">Terms</a></li>
<li quay-require="['BILLING']"><a href="/privacy" target="_self">Privacy</a></li>
<li quay-require="['BILLING']"><a href="/security/" target="_self">Security</a></li>