mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 15:08:25 -04:00
Put template ID on the single template page
Not necessary to have it on its own page – it’s one line of stuff. And definitely not as frequent use as the ‘Upload recipients’ or ‘Send yourself a test’ links.
This commit is contained in:
@@ -190,19 +190,6 @@ def send_test(service_id, template_id):
|
||||
)
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/send/<template_id>/from-api", methods=['GET'])
|
||||
@login_required
|
||||
def send_from_api(service_id, template_id):
|
||||
return render_template(
|
||||
'views/send-from-api.html',
|
||||
template=get_template(
|
||||
service_api_client.get_service_template(service_id, template_id)['data'],
|
||||
current_service,
|
||||
letter_preview_url=url_for('.view_template', service_id=service_id, template_id=template_id)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def _check_messages(service_id, template_type, upload_id, letters_as_pdf=False):
|
||||
|
||||
if not session.get('upload_data'):
|
||||
|
||||
Reference in New Issue
Block a user