New template button takes user to new template page

for all services that only allow sending one type of notifications
This commit is contained in:
Pea Tyczynska
2020-08-11 15:44:17 +01:00
parent bdfc0adcc0
commit 36c1ffa7be
5 changed files with 51 additions and 10 deletions

View File

@@ -28,7 +28,7 @@
{{ page_footer('Add new folder', button_name='operation', button_value='add-new-folder') }}
</fieldset>
</div>
<div id="add_new_template_form" {% if current_service.has_permission('broadcast') %}data-broadcast="{{current_service.id}}"{% endif %}>
<div id="add_new_template_form" {% if single_notification_channel %}data-channel="{{single_notification_channel}}" data-service="{{current_service.id}}"{% endif %}>
<div class="js-will-stick-at-bottom-when-scrolling">
{{ radios(templates_and_folders_form.add_template_by_template_type) }}
</div>