Merge pull request #1679 from alphagov/ken-add-send_letters_as_pdf-setting

Add send letters as PDF service setting
This commit is contained in:
Leo Hemsted
2017-12-04 11:59:41 +00:00
committed by GitHub
3 changed files with 35 additions and 0 deletions

View File

@@ -256,6 +256,13 @@
{{ 'Stop sending letters' if 'letter' in current_service.permissions else 'Allow to send letters' }}
</a>
</li>
{% if 'letter' in current_service.permissions %}
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_send_letters_as_pdf', service_id=current_service.id) }}" class="button">
{{ 'Stop sending letters as PDF' if 'letters_as_pdf' in current_service.permissions else 'Send letters as PDF' }}
</a>
</li>
{% endif %}
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_can_send_sms', service_id=current_service.id) }}" class="button">
{{ 'Stop sending sms' if 'sms' in current_service.permissions else 'Allow to send sms' }}