Remove pre-defined Quay.io specific contact information

Fixes https://jira.coreos.com/browse/QUAY-1176
This commit is contained in:
Joseph Schorr 2019-02-28 15:40:23 -05:00
parent 9d3543a353
commit b9ec390ff6
4 changed files with 5 additions and 6 deletions

View file

@ -108,6 +108,7 @@ def render_page_template(name, route_data=None, **kwargs):
return oauth_config
has_contact = len(app.config.get('CONTACT_INFO', [])) > 0
contact_href = None
if len(app.config.get('CONTACT_INFO', [])) == 1:
contact_href = app.config['CONTACT_INFO'][0]
@ -140,6 +141,7 @@ def render_page_template(name, route_data=None, **kwargs):
aci_conversion=features.ACI_CONVERSION,
has_billing=features.BILLING,
contact_href=contact_href,
has_contact=has_contact,
hostname=app.config['SERVER_HOSTNAME'],
preferred_scheme=app.config['PREFERRED_URL_SCHEME'],
version_number=version_number,