Skip to content

Commit

Permalink
Revert "[5.3] MSTR-300: Add support to intrado when adding a e911 to …
Browse files Browse the repository at this point in the history
…a number
  • Loading branch information
pcandia committed Jul 8, 2024
1 parent c4656b0 commit d99f907
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 60 deletions.
7 changes: 0 additions & 7 deletions src/apps/common/i18n/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@
"postalCode": "PLZ",
"rotatedText": "Für Notdienste",
"state": "Bundesland/Kanton",
"country": "Country",
"successE911": "Sie haben die e911-Adresse von <br> {{phoneNumber}} erfolgreich aktualisiert",
"title": "E911-Adresse",
"verifyLocation": "Standort prüfen",
Expand All @@ -217,12 +216,6 @@
"youEntered": "Ihre Eingabe:",
"choicesAvailable": "Verfügbare Auswahl:",
"content": "Ihre Angaben passen zu mehreren Adressen. Vielleicht haben Sie keine Hausnummer angegeben oder das Haus besteht aus mehreren Gebäuden."
},
"countries": {
"us": {
"value": "US",
"option": "United States"
}
}
},

Expand Down
7 changes: 0 additions & 7 deletions src/apps/common/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@
"postalCode": "Zip Code",
"rotatedText": "For emergency services",
"state": "State",
"country": "Country",
"successE911": "You successfully updated the e911 information of <br> {{phoneNumber}}",
"title": "E911 Information",
"verifyLocation": "Verify Location",
Expand All @@ -736,12 +735,6 @@
"youEntered": "You entered:",
"choicesAvailable": "Choices available:",
"content": "Several addresses matched the information you provided. Perhaps you didn't enter a street number or the building has multiple units."
},
"countries": {
"us": {
"value": "US",
"option": "United States"
}
}
},

Expand Down
7 changes: 0 additions & 7 deletions src/apps/common/i18n/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"postalCode":"Code Postal",
"rotatedText":"Pour Services d'Urgences",
"state":"État",
"country": "Country",
"successE911":"Mise à jour de l'Adresse d'Urgence de <br> {{phoneNumber}} réussie",
"title":"Adresse d'Urgence",
"verifyLocation":"Vérifier Adresse",
Expand All @@ -138,12 +137,6 @@
"youEntered": "Vous avez entré:",
"choicesAvailable": "Choix disponibles:",
"content": "Plusieurs adresses correpondent à celle que vous avez entré. Peut-être que vous n'avez pas spécifié un numéro de rue ou le bâtiment à plusieurs appartements."
},
"countries": {
"us": {
"value": "US",
"option": "United States"
}
}
},
"failover":{
Expand Down
9 changes: 1 addition & 8 deletions src/apps/common/i18n/nl-NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,9 @@
"postalCode": "Postcode",
"rotatedText": "Voor alarmdiensten",
"state": "Provincie",
"country": "Country",
"successE911": "U werkte met succes het 112 alarmdienst adres bij voor {{phoneNumber}}",
"title": "112 Adres",
"verifyLocation": "Check de Locatie",
"countries": {
"us": {
"value": "US",
"option": "United States"
}
}
"verifyLocation": "Check de Locatie"
},

"failover": {
Expand Down
9 changes: 1 addition & 8 deletions src/apps/common/i18n/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,9 @@
"postalCode": "Почтовый индекс",
"rotatedText": "Для экстренных служб",
"state": "Регион",
"country": "Country",
"successE911": "Вы успешно обновили адрес вызова экстренных служб для номера {{phoneNumber}}",
"title": "Адрес для вызова экстренных служб",
"verifyLocation": "Проверьте адрес",
"countries": {
"us": {
"value": "US",
"option": "United States"
}
}
"verifyLocation": "Проверьте адрес"
},

"failover": {
Expand Down
7 changes: 0 additions & 7 deletions src/apps/common/submodules/e911/e911.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,6 @@ define(function(require) {
},

e911Normalize: function(data) {
var splitAddress = data.street_address.split(/\s/g);
data.caller_name = monster.apps.auth.currentAccount.name;
data.legacy_data = {
house_number: _.head(splitAddress)
};
data.street_address = splitAddress.slice(1).join(' ');

return _.merge({}, data, {
notification_contact_emails: _
.chain(data)
Expand Down
5 changes: 0 additions & 5 deletions src/apps/common/submodules/e911/e911.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
width: 186px;
padding: 10px 5px;
}

.control-group .controls select {
width: 197px;
height: 42px;
}

.control-group .controls button {
width: 200px;
Expand Down
12 changes: 1 addition & 11 deletions src/apps/common/submodules/e911/views/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="control-group">
<label class="control-label" for="street_address">{{ i18n.e911.addressLine1 }}</label>
<div class="controls">
<input id="street_address" type="text" placeholder='{{ i18n.e911.addressLine1 }}' name="street_address" value="{{full_street_address}}" />
<input id="street_address" type="text" placeholder='{{ i18n.e911.addressLine1 }}' name="street_address" value="{{street_address}}" />
</div>
</div>
<div class="control-group">
Expand All @@ -39,16 +39,6 @@
<input id="region" type="text" name="region" placeholder='{{ i18n.e911.state }}' value="{{region}}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="country">{{ i18n.e911.country }}</label>
<div class="controls">
<select class="country-list" name="country">
<option value="{{ i18n.e911.countries.us.value }}" selected>
{{ i18n.e911.countries.us.option }}
</option>
</select>
</div>
</div>
{{#if status}}
<div class="control-group gmap_link_div" style="display: none;">
<div class="controls">
Expand Down

0 comments on commit d99f907

Please sign in to comment.