Merge pull request #2772 from alphagov/branding-spec

Add spec for email/letter branding
This commit is contained in:
Chris Hill-Scott
2019-02-20 11:30:20 +00:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
@@ -19,6 +19,9 @@
<img src="https://{{ cdn_url }}/{{ logo }}"/> <img src="https://{{ cdn_url }}/{{ logo }}"/>
</div> </div>
{% endif %} {% endif %}
<p>
Logos should be PNG files, 108px high
</p>
{{ file_upload(form.file, button_text='{} logo'.format('Update' if email_branding else 'Upload')) }} {{ file_upload(form.file, button_text='{} logo'.format('Update' if email_branding else 'Upload')) }}
{% call form_wrapper() %} {% call form_wrapper() %}
<div class="form-group"> <div class="form-group">
@@ -18,6 +18,9 @@
<img src="https://{{ cdn_url }}/{{ logo }}"/> <img src="https://{{ cdn_url }}/{{ logo }}"/>
</div> </div>
{% endif %} {% endif %}
<p>
Logos should be SVG files, cropped to artwork bounds and with all fonts outlined.
</p>
{{ file_upload(file_upload_form.file, button_text='{} logo'.format('Update' if is_update else 'Upload')) }} {{ file_upload(file_upload_form.file, button_text='{} logo'.format('Update' if is_update else 'Upload')) }}
{% call form_wrapper() %} {% call form_wrapper() %}
<div class="form-group"> <div class="form-group">