From c344dee22eee59d7dcac37d8dfca15fe22ce7aac Mon Sep 17 00:00:00 2001 From: Flaviu Mates Date: Tue, 9 Feb 2021 14:15:24 +0200 Subject: [PATCH] TT#110700 Add 'config' and 'preferences' buttons for Deployed Devices * Devices already had these buttons in Customer -> PBX Devices; creating same buttons for Device Management -> Deployed Devices simplifies testing a lot Change-Id: I5db3a8584821058db12225cae4e3ff201a9643f2 --- share/templates/device/list.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/templates/device/list.tt b/share/templates/device/list.tt index 1012687070..7a9d74aefb 100644 --- a/share/templates/device/list.tt +++ b/share/templates/device/list.tt @@ -271,6 +271,8 @@ $( document ).ready(function() { helper.dt_buttons = [ { name = c.loc('Delete'), uri = "/customer/' + full.contract_id + '/pbx/device/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' }, { name = c.loc('Customer'), uri = "/customer/' + full.contract_id + '/details", class = 'btn-small btn-tertiary', icon = 'icon-user' }, + { name = c.loc('Config'), uri = "/device/autoprov/config/' + full.identifier + '", class = 'btn-small btn-primary', icon = 'icon-edit' }, + { name = c.loc('Preferences'), uri = "/customer/' + full.contract_id + '/pbx/device/' + full.id + '/preferences", class = 'btn-small btn-primary', icon = 'icon-list' } ]; ELSE; helper.dt_buttons = [