Skip to content

Commit

Permalink
[5.1] MSCO-23: Include Device name and remove brand and model from de…
Browse files Browse the repository at this point in the history
…vice (#57)
  • Loading branch information
ranaya1024 committed Feb 16, 2023
1 parent b2fed78 commit cfb71c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>required.</strong> The email and extension values <strong>must be unique.</strong> Notification email is <strong>optional.</strong>",
"constrainUsersDevices": "A Header row is <strong>required.</strong> The email, extension, and mac_address values <strong>must be unique.</strong> Notification email is <strong>optional.</strong><br/> 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.",
Expand Down

0 comments on commit cfb71c3

Please sign in to comment.