diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js
index 4ade4b7..df31f5b 100644
--- a/submodules/devices/devices.js
+++ b/submodules/devices/devices.js
@@ -269,7 +269,9 @@ define(function(require){
mode = data.id ? 'edit' : 'add',
type = data.device_type,
popupTitle = mode === 'edit' ? monster.template(self, '!' + self.i18n.active().devices[type].editTitle, { name: data.name }) : self.i18n.active().devices[type].addTitle,
- templateDevice = $(monster.template(self, 'devices-'+type, data)),
+ templateDevice = $(monster.template(self, 'devices-'+type, $.extend(true, {}, data, {
+ isE911Enabled: monster.util.isNumberFeatureEnabled('e911')
+ }))),
deviceForm = templateDevice.find('#form_device');
if (data.hasOwnProperty('provision') && data.provision.hasOwnProperty('feature_keys')) {
diff --git a/views/devices-ata.html b/views/devices-ata.html
index 0b49a58..4b8fab6 100644
--- a/views/devices-ata.html
+++ b/views/devices-ata.html
@@ -23,7 +23,9 @@
@@ -113,22 +115,24 @@
-
-
- {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
- {{#if extra.hasE911Numbers}}
-
-
-
+ {{#if isE911Enabled}}
+
+
+ {{ i18n.devices.popupSettings.callerId.sectionTitle }}
- {{else}}
- {{#monsterText 'error'}}
- {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
- {{/monsterText}}
- {{/if}}
-
+
+ {{#if extra.hasE911Numbers}}
+
+
+
+
+ {{else}}
+ {{#monsterText 'error'}}
+ {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
+ {{/monsterText}}
+ {{/if}}
+
+ {{/if}}
diff --git a/views/devices-fax.html b/views/devices-fax.html
index 677b089..6639ed4 100644
--- a/views/devices-fax.html
+++ b/views/devices-fax.html
@@ -23,7 +23,9 @@
@@ -133,22 +135,24 @@
-
-
- {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
- {{#if extra.hasE911Numbers}}
-
-
-
+ {{#if isE911Enabled}}
+
+
+ {{ i18n.devices.popupSettings.callerId.sectionTitle }}
- {{else}}
- {{#monsterText 'error'}}
- {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
- {{/monsterText}}
- {{/if}}
-
+
+ {{#if extra.hasE911Numbers}}
+
+
+
+
+ {{else}}
+ {{#monsterText 'error'}}
+ {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
+ {{/monsterText}}
+ {{/if}}
+
+ {{/if}}
diff --git a/views/devices-mobile.html b/views/devices-mobile.html
index 9073202..8715c62 100644
--- a/views/devices-mobile.html
+++ b/views/devices-mobile.html
@@ -24,7 +24,9 @@
{{ i18n.devices.popupSettings.audio.menuTitle }}
{{ i18n.devices.popupSettings.video.menuTitle }}
{{ i18n.devices.popupSettings.restrictions.menuTitle }}
- {{ i18n.devices.popupSettings.callerId.menuTitle }}
+ {{#if isE911Enabled}}
+ {{ i18n.devices.popupSettings.callerId.menuTitle }}
+ {{/if}}
{{ i18n.devices.popupSettings.miscellaneous.menuTitle }}
@@ -135,22 +137,24 @@
-
-
- {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
- {{#if extra.hasE911Numbers}}
-
-
-
+ {{#if isE911Enabled}}
+
+
+ {{ i18n.devices.popupSettings.callerId.sectionTitle }}
- {{else}}
- {{#monsterText 'error'}}
- {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
- {{/monsterText}}
- {{/if}}
-
+
+ {{#if extra.hasE911Numbers}}
+
+
+
+
+ {{else}}
+ {{#monsterText 'error'}}
+ {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
+ {{/monsterText}}
+ {{/if}}
+
+ {{/if}}
-
-
- {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
- {{#if extra.hasE911Numbers}}
-
-
-
+ {{#if isE911Enabled}}
+
+
+ {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
-
-
+
+ {{#if extra.hasE911Numbers}}
+
+
+
-
- {{else}}
- {{#monsterText 'error'}}
- {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
- {{/monsterText}}
- {{/if}}
-
+
+
+
+
+ {{else}}
+ {{#monsterText 'error'}}
+ {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
+ {{/monsterText}}
+ {{/if}}
+
+ {{/if}}
-
-
- {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
- {{#if extra.hasE911Numbers}}
-
-
-
+ {{#if isE911Enabled}}
+
+
+ {{ i18n.devices.popupSettings.callerId.sectionTitle }}
-
-
-
-
+
+ {{#if extra.hasE911Numbers}}
+
+
+
-
- {{else}}
- {{#monsterText 'error'}}
- {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
- {{/monsterText}}
- {{/if}}
-
+
+
+
+
+ {{else}}
+ {{#monsterText 'error'}}
+ {{ i18n.devices.popupSettings.callerId.noE911Numbers }}
+ {{/monsterText}}
+ {{/if}}
+
+ {{/if}}