mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 03:08:56 -04:00
Remove template link from preview for precompiled letters
This commit is contained in:
@@ -205,6 +205,7 @@ def template_json(service_id,
|
||||
service_letter_contact=None,
|
||||
reply_to=None,
|
||||
reply_to_text=None,
|
||||
is_precompiled_letter=False,
|
||||
):
|
||||
template = {
|
||||
'id': id_,
|
||||
@@ -219,6 +220,7 @@ def template_json(service_id,
|
||||
'service_letter_contact': service_letter_contact,
|
||||
'reply_to': reply_to,
|
||||
'reply_to_text': reply_to_text,
|
||||
'is_precompiled_letter': is_precompiled_letter,
|
||||
}
|
||||
if content is None:
|
||||
template['content'] = "template content"
|
||||
|
||||
Reference in New Issue
Block a user