Browse Source

UI-2761: Add new category for qubicle feature codes (#26)

4.3
Joris Tirado 9 years ago
committed by GitHub
parent
commit
f8f791cf65
2 changed files with 12 additions and 1 deletions
  1. +5
    -0
      i18n/en-US.json
  2. +7
    -1
      submodules/featureCodes/featureCodes.js

+ 5
- 0
i18n/en-US.json View File

@ -1117,6 +1117,10 @@
"noFeatureCodeMessage": "There are no feature codes enabled on your account yet. Feature codes are automatically created when you load the Main Number page.",
"mainNumberLink": "Go to Main Number",
"labels": {
"qubicle login": "Agent Login",
"qubicle set ready": "Set Agent Ready",
"qubicle set away": "Set Agent Away",
"qubicle logout": "Agent Logout",
"call_forward[action=activate]": "Enable Call-Forward",
"call_forward[action=deactivate]": "Disable Call-Forward",
"call_forward[action=toggle]": "Toggle Call-Forward",
@ -1153,6 +1157,7 @@
},
"__comment": "UI-1028, v3.20_s0: Added categories for the feature codes.",
"categories": {
"qubicle": "Call Center",
"call_forward": "Call-Forward",
"hotdesk": "Hot-Desking",
"parking": "Parking",


+ 7
- 1
submodules/featureCodes/featureCodes.js View File

@ -13,6 +13,12 @@ define(function(require){
},
categories: {
qubicle: [
'qubicle login',
'qubicle set ready',
'qubicle set away',
'qubicle logout'
],
call_forward: [
"call_forward[action=activate]",
"call_forward[action=deactivate]",
@ -128,7 +134,7 @@ define(function(require){
return _.chain(featureCodes)
.map(function(category) {
category.codes = _.sortBy(category.codes, 'numbers');
category.codes = _.sortBy(category.codes, 'number');
return category;
})
.sortBy('category')


Loading…
Cancel
Save