Merge pull request #1926 from alphagov/ken-remove-link-from-preview-precompiled

Remove link from preview precompiled view and dashboard
This commit is contained in:
kentsanggds
2018-03-08 15:28:47 +00:00
committed by GitHub
7 changed files with 101 additions and 20 deletions

View File

@@ -83,6 +83,7 @@ def view_notification(service_id, notification_id):
estimated_letter_delivery_date=get_letter_timings(notification['created_at']).earliest_delivery,
notification_id=notification['id'],
can_receive_inbound=('inbound_sms' in current_service['permissions']),
is_precompiled_letter=notification['template']['is_precompiled_letter']
)