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
mr9.4
Flaviu Mates 4 years ago
parent ef9bf99809
commit c344dee22e

@ -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 = [

Loading…
Cancel
Save