Merge pull request #2270 from alphagov/add-document-download-guidance-to-template

Add 'send a document by email' guidance to email template formatting guidance
This commit is contained in:
karlchillmaid
2018-09-12 10:11:54 +01:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<h2 class="heading-medium">
Send a document by email
</h2>
<p>
Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document.
</p>
<div class="panel panel-border-wide">
<p>
Download your document at: ((link_to_document))
</p>
</div>
Next, use the API to upload your document.<!--<p> Follow the instructions to send a document by email in the <a href="https://www.notifications.service.gov.uk/documentation">API client documentation</a>.
</p>-->

View File

@@ -31,6 +31,9 @@
{% include "partials/templates/guidance-personalisation.html" %}
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% if current_service.has_permission('upload_document') %}
{% include "partials/templates/guidance-send-a-document.html" %}
{% endif %}
</aside>
</div>
</form>