fix request letter branding page

(it can now have a null type). also fix nav.py
This commit is contained in:
Leo Hemsted
2019-02-05 16:33:36 +00:00
parent 8266635a7a
commit 3be82bafd5
2 changed files with 9 additions and 5 deletions

View File

@@ -12,7 +12,11 @@
<div class="grid-row">
<div class="column-three-quarters">
<p>
Your letters have the {{ current_service.letter_branding }} logo.
{% if current_service.letter_branding_id %}
Your letters have the {{ current_service.letter_branding.name }} logo.
{% else %}
Your letters have no logo.
{% endif %}
</p>
<p>
<a href="{{ url_for('main.feedback', ticket_type='ask-question-give-feedback', body='letter-branding') }}">Contact support</a>