Use Jinja template for branding request tickets

Following the pattern established by
https://github.com/alphagov/notifications-admin/pull/4041/files
this commit move the ticket message from a Python f-string to a proper
templating language.
This commit is contained in:
Chris Hill-Scott
2021-10-26 18:06:26 +01:00
parent 2308dad0d2
commit a145c501ab
2 changed files with 17 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
Organisation: {{ current_service.organisation.as_info_for_branding_request(current_user.email_domain) }}
Service: {{ current_service.name }}
{{ url_for('main.service_dashboard', service_id=current_service.id, _external=True) }}
---
Current branding: {{ current_branding }}
Branding requested: {{ branding_requested }}
{% if detail %}
{{ detail }}
{% endif %}