Fix org info in branding requests with known orgs

This wasn’t looking quite right in the case where an organisation is in
our list of domains.
This commit is contained in:
Chris Hill-Scott
2018-07-10 17:18:50 +01:00
parent 47e83c6922
commit ed9444b436
3 changed files with 15 additions and 1 deletions

View File

@@ -986,7 +986,7 @@ def branding_request(service_id):
'\n---'
'\nBranding requested: {}'
).format(
AgreementInfo.from_current_user().as_human_readable,
AgreementInfo.from_current_user().as_info_for_branding_request,
current_service['name'],
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
branding_options_dict[form.options.data],