Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/3.19' into 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
JRMaitre committed Mar 11, 2015
2 parents 4c046f4 + 95b924c commit cc4aba8
Show file tree
Hide file tree
Showing 24 changed files with 58 additions and 31 deletions.
5 changes: 1 addition & 4 deletions apps/common/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"progressBarRight": "Confirm Order",
"requiredConditions": "Please agree with all the conditions",
"comingSoon": "Coming Soon!",
"unknownCarrier": "Unknown Carrier",
"state": {
"completed": "Completed",
"rejected": "Rejected",
Expand Down Expand Up @@ -327,10 +328,6 @@
},
"mimeTypes": "The following files are not in a supported format: ",
"size": "The following files are too big: ",
"number": {
"single": "The number you entered is invalid !!!",
"multiple": "The numbers you entered are invalid !!!"
},
"submit": {
"document": "Please upload the signed LOA and the bill corresponding to the numbers you want to port"
}
Expand Down
7 changes: 2 additions & 5 deletions apps/common/i18n/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"progressBarRight":"Confirmer le transfert",
"requiredConditions": "Veuillez accepter les condictions",
"comingSoon": "Prochainement",
"unknownCarrier": "Opérateur inconnu",
"state": {
"completed": "Effectué",
"rejected": "Refusé",
Expand Down Expand Up @@ -323,11 +324,7 @@
"update": "La mise à jour de la demande de transfert à échoué"
},
"mimeType": "Les fichiers suivants ne sont pas dans un format accepter: ",
"size": "Les fichiers suivants sont trop gros: ",
"number": {
"single": "Le numéro que vous avez saisi est invalide !!!",
"multiple": "Les numéros que vous avez saisi sont invalides !!!"
},
"size": "Les fichiers suivants sont trop volumineux: ",
"submit": {
"document": "Veuillez joindre la lettre d'autorisation signée ainsi que la facture correspondant aux numéros que vous souhaitez transférer"
}
Expand Down
4 changes: 0 additions & 4 deletions apps/common/i18n/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@
},
"mimeTypes": "Следующие файлы предоставлены в неподдерживаемом формате: ",
"size": "Следующие файлы имеют слишком большой размер: ",
"number": {
"single": "Введенный номер не существует!!!",
"multiple": "Введённые номера не существуют !!!"
},
"submit": {
"document": "Пожалуйста, предоставьте подписанную Доверенность и счёт для номеров, которые вы хотите перенести"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/common/submodules/numberPrepend/numberPrepend.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ define(function(require){
var prependFormData = monster.ui.getFormData('number_prepend');
prependFormData.enabled = (prependFormData.name && prependFormData.name.length > 0) ? true : false;

_.extend(true, dataNumber, { prepend: prependFormData });
$.extend(true, dataNumber, { prepend: prependFormData });

self.numberPrependUpdateNumber(dataNumber.id, dataNumber,
function(data) {
Expand Down
21 changes: 6 additions & 15 deletions apps/common/submodules/port/port.js
Original file line number Diff line number Diff line change
Expand Up @@ -1016,19 +1016,17 @@ define(function(require){
data = data.data;

var carriersList = [],
formattedData = { orders: [] },
errorCount = 0;
formattedData = { orders: [] };

for (var number in data) {
if (data[number].company == null || data[number].company == 'undefined' || data[number].company == "") {
errorCount++;
delete data[number];
continue;
data[number].company = self.i18n.active().port.unknownCarrier;
}
carriersList.push(data[number].company);
}

carriersList = _.uniq(carriersList);
if (carriersList.indexOf(data[number].company) === -1) {
carriersList.push(data[number].company);
}
}

for (var carrier in carriersList) {
var numbersArray = [],
Expand All @@ -1046,13 +1044,6 @@ define(function(require){
formattedData.orders[carrier] = order;
}

if (errorCount == 1) {
toastr.error(self.i18n.active().port.toastr.error.number.single, '', { timeOut: 5000 });
}
else if (errorCount > 1) {
toastr.error(self.i18n.active().port.toastr.error.number.multiple, '', { timeOut: 5000 });
}

callback(formattedData);
}
});
Expand Down
Binary file added css/images/models/cisco301g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed css/images/models/cisco303.jpg
Binary file not shown.
Binary file added css/images/models/cisco303g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/cisco508g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/cisco509g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/cisco512g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/cisco514g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified css/images/models/cisco525g.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom301.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom320.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom330.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom4000.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom430.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom501.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom600.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/polycom601.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/yealinkt21.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/models/yealinkt23.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 48 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,16 @@ input[type="color"],
.model-image.yealink-t20 {
background: url('images/models/yealinkt20.jpg') center no-repeat;
}
.model-image.yealink-t21 {
background: url('images/models/yealinkt21.jpg') center no-repeat;
}
.model-image.yealink-t22 {
background: url('images/models/yealinkt22.jpg') center no-repeat;
}
.model-image.yealink-t23,
.model-image.yealink-t23g {
background: url('images/models/yealinkt23.jpg') center no-repeat;
}
.model-image.yealink-t26 {
background: url('images/models/yealinkt26.jpg') center no-repeat;
}
Expand Down Expand Up @@ -473,8 +480,11 @@ input[type="color"],
.model-image.cisco-962 {
background: url('images/models/cisco962.jpg') center no-repeat;
}
.model-image.cisco-303 {
background: url('images/models/cisco303.jpg') center no-repeat;
.model-image.cisco-301g {
background: url('images/models/cisco301g.jpg') center no-repeat;
}
.model-image.cisco-303g {
background: url('images/models/cisco303g.jpg') center no-repeat;
}
.model-image.cisco-501g {
background: url('images/models/cisco501g.jpg') center no-repeat;
Expand All @@ -485,6 +495,18 @@ input[type="color"],
.model-image.cisco-504g {
background: url('images/models/cisco504g.jpg') center no-repeat;
}
.model-image.cisco-508g {
background: url('images/models/cisco508g.jpg') center no-repeat;
}
.model-image.cisco-509g {
background: url('images/models/cisco509g.jpg') center no-repeat;
}
.model-image.cisco-512g {
background: url('images/models/cisco512g.jpg') center no-repeat;
}
.model-image.cisco-514g {
background: url('images/models/cisco514g.jpg') center no-repeat;
}
.model-image.cisco-525g {
background: url('images/models/cisco525g.jpg') center no-repeat;
}
Expand All @@ -496,21 +518,39 @@ input[type="color"],
.model-image.polycom-1500 {
background: url('images/models/polycom1500.jpg') center no-repeat;
}
.model-image.polycom-301 {
background: url('images/models/polycom301.jpg') center no-repeat;
}
.model-image.polycom-320 {
background: url('images/models/polycom320.jpg') center no-repeat;
}
.model-image.polycom-321 {
background: url('images/models/polycom321.jpg') center no-repeat;
}
.model-image.polycom-330 {
background: url('images/models/polycom330.jpg') center no-repeat;
}
.model-image.polycom-331 {
background: url('images/models/polycom331.jpg') center no-repeat;
}
.model-image.polycom-335 {
background: url('images/models/polycom335.jpg') center no-repeat;
}
.model-image.polycom-4000 {
background: url('images/models/polycom4000.jpg') center no-repeat;
}
.model-image.polycom-430 {
background: url('images/models/polycom430.jpg') center no-repeat;
}
.model-image.polycom-450 {
background: url('images/models/polycom450.jpg') center no-repeat;
}
.model-image.polycom-5000 {
background: url('images/models/polycom5000.jpg') center no-repeat;
}
.model-image.polycom-501 {
background: url('images/models/polycom501.jpg') center no-repeat;
}
.model-image.polycom-550 {
background: url('images/models/polycom550.jpg') center no-repeat;
}
Expand All @@ -520,6 +560,12 @@ input[type="color"],
.model-image.polycom-6000 {
background: url('images/models/polycom6000.jpg') center no-repeat;
}
.model-image.polycom-600 {
background: url('images/models/polycom600.jpg') center no-repeat;
}
.model-image.polycom-601 {
background: url('images/models/polycom601.jpg') center no-repeat;
}
.model-image.polycom-650 {
background: url('images/models/polycom650.jpg') center no-repeat;
}
Expand Down

0 comments on commit cc4aba8

Please sign in to comment.