diff --git a/app.js b/app.js index 472e92c..4a539ec 100644 --- a/app.js +++ b/app.js @@ -18,7 +18,7 @@ define(function(require) { csvOnboarding: { columns: { userMandatory: ['first_name', 'last_name', 'password', 'email', 'extension'], - mandatory: ['first_name', 'last_name', 'password', 'email', 'extension', 'mac_address', 'brand', 'family', 'model'], + mandatory: ['first_name', 'last_name', 'password', 'email', 'extension', 'mac_address', 'brand', 'family', 'model', 'device_name'], optional: ['notification_email'] }, users: { @@ -1129,7 +1129,7 @@ define(function(require) { device_type: 'sip_device', enabled: true, mac_address: data.mac_address, - name: data.first_name + ' ' + data.last_name + ' - ' + data.brand + ' ' + data.model, + name: data.device_name, provision: { endpoint_brand: data.brand, endpoint_family: data.family, diff --git a/i18n/en-US.json b/i18n/en-US.json index 4fb5b58..f58982c 100644 --- a/i18n/en-US.json +++ b/i18n/en-US.json @@ -14,7 +14,7 @@ "mainTitleUsers": "Fast SmartPBX Onboarding - Add User", "mainTitleUsersDevices": "Fast SmartPBX Onboarding - Add User & Device", "subTitleUsers": "Upload a CSV File with the following columns: first_name, last_name, password, email, extension, notification_email", - "subTitleUsersDevices": "Upload a CSV file with the following columns: first_name, last_name, password, email, extension, notification_email, mac_address, brand, family, model.", + "subTitleUsersDevices": "Upload a CSV file with the following columns: first_name, last_name, password, email, extension, notification_email, mac_address, brand, family, model, device_name.", "constrainUsers": "A Header row is required. The email and extension values must be unique. Notification email is optional.", "constrainUsersDevices": "A Header row is required. The email, extension, and mac_address values must be unique. Notification email is optional.
You are not able to adjust a device's brand, family, or model information without deleteing and recreating a device, so please ensure your information is accurate.", "text": "Drag and drop your file here to upload, or browse your computer.",