Skip to content

Commit

Permalink
UI-1161: Reset incoming call strategy (#94)
Browse files Browse the repository at this point in the history
* Add reset button for incoming call handling strategy

* Delete menus and callflows for call strategy

* Fix code mistakes

* Re-create default call strategy after delete

* Add missing self variable on delete functions

* Small fixes

* Refactor code at strategyGetMainCallflows

* Refactor to use existing callflow functions

* Extract create menu API call to separate function
  • Loading branch information
guillegr123 authored Oct 31, 2018
1 parent a47dcf7 commit 8e8eb8c
Show file tree
Hide file tree
Showing 3 changed files with 450 additions and 154 deletions.
12 changes: 9 additions & 3 deletions i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,8 @@
},
"confirmMessages": {
"deleteHoliday": "This holiday will be permanently deleted. Continue?",
"disableHolidays": "All existing holidays will be permanently deleted. Continue?"
"disableHolidays": "All existing holidays will be permanently deleted. Continue?",
"resetCalls": "All incoming call handling strategies will be reset. Continue?"
},
"alertMessages": {
"uniqueHoliday": "Every holiday must have a unique name.",
Expand All @@ -952,8 +953,9 @@
"lastE911Error": "You need e911 set up on at least one of your Main Numbers. Please set up e911 on another Main Number before deleting this one."
},
"toastrMessages": {
"updateHolidaySuccess": "Holidays sucessfully updated.",
"updateCallSuccess": "Call strategy sucessfully updated.",
"updateHolidaySuccess": "Holidays successfully updated.",
"updateCallSuccess": "Call strategy successfully updated.",
"resetCallSuccess": "Call strategy successfully reset.",
"buyNumbersSuccess": "The numbers have been purchased.",
"buyNumbersError": "An error occured while purchasing numbers.",
"removeNumberSuccess": "Number successfully removed from the main callflow."
Expand Down Expand Up @@ -1034,6 +1036,10 @@
"headerNoE911": "You've disabled E911 on the number that was used for your Emergency Caller-ID, please select a new number to use as this Account Emergency Caller-ID.",
"success": "You successfully updated the E911 on the account to be {{ number }}.",
"current": "Current one"
},

"buttons": {
"reset": "Reset"
}
},

Expand Down
Loading

0 comments on commit 8e8eb8c

Please sign in to comment.