|
|
<div class="monster-feature-popup-container" data-feature="call_forward">
|
|
|
<div class="feature-popup-title">
|
|
|
<div class="feature-fa-wrapper">
|
|
|
<i class="{{extra.mapFeatures.call_forward.icon}}"></i>
|
|
|
</div>
|
|
|
{{ i18n.users.call_forward.headline }}
|
|
|
|
|
|
<div class="btn-group feature-select-mode">
|
|
|
<button data-value="off" class="monster-button monster-button-fit{{#compare extra.callForwardMode "===" "off"}} monster-button-primary selected{{/compare}}">Off</button>
|
|
|
<button data-value="failover" class="monster-button monster-button-fit{{#compare extra.callForwardMode "===" "failover"}} monster-button-primary selected{{/compare}}">Failover Mode</button>
|
|
|
<button data-value="on" class="monster-button monster-button-fit{{#compare extra.callForwardMode "===" "on"}} monster-button-primary selected{{/compare}}">On</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="content{{#compare extra.callForwardMode "===" "off"}} disabled{{/compare}}">
|
|
|
<div class="failover-info{{#compare extra.callForwardMode "!==" "failover"}} disabled{{/compare}}">
|
|
|
{{#monsterText 'info'}}
|
|
|
{{ i18n.users.call_forward.failoverWarning }}
|
|
|
{{/monsterText}}
|
|
|
</div>
|
|
|
<form id="call_forward_form" class="form form-horizontal">
|
|
|
<div class="control-group">
|
|
|
<label class="control-label" for="phoneType">{{ i18n.users.call_forward.label }}</label>
|
|
|
<div class="controls">
|
|
|
<select class="span2" id="phoneType" name="phoneType">
|
|
|
<option value="mobile" selected>{{ i18n.users.call_forward.mobile }}</option>
|
|
|
<option value="deskphone">{{ i18n.users.call_forward.deskphone }}</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="control-group">
|
|
|
<label for="number" class="control-label">{{ i18n.users.call_forward.number }}</label>
|
|
|
<div class="controls">
|
|
|
<input required id="number" type="text" name="number" class="span2" placeholder="{{ i18n.users.call_forward.placeholder }}" value="{{call_forward.number}}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- <div class="main-line">
|
|
|
{{ i18n.users.call_forward.label }}
|
|
|
<input required id="number_field" type="text" name="number" class="input-medium" placeholder="{{ i18n.users.call_forward.placeholder }}" value="{{call_forward.number}}"></input>
|
|
|
</div> -->
|
|
|
|
|
|
<label class="fix-left">
|
|
|
{{#monsterCheckbox i18n.users.call_forward.requireKeyPress}}
|
|
|
<input type="checkbox" name="require_keypress"{{#unless call_forward.require_keypress}} checked{{/unless}}></input>
|
|
|
{{/monsterCheckbox}}
|
|
|
</label>
|
|
|
<label class="fix-left">
|
|
|
{{#monsterCheckbox i18n.users.call_forward.directCallsOnly}}
|
|
|
<input type="checkbox" name="direct_calls_only"{{#if call_forward.direct_calls_only}} checked{{/if}}></input>
|
|
|
{{/monsterCheckbox}}
|
|
|
</label>
|
|
|
<label class="fix-left">
|
|
|
{{#monsterCheckbox i18n.users.call_forward.keepCallerId}}
|
|
|
<input type="checkbox" name="keep_caller_id"{{#if call_forward.keep_caller_id}} checked{{/if}}></input>
|
|
|
{{/monsterCheckbox}}
|
|
|
</label>
|
|
|
</form>
|
|
|
|
|
|
{{#if extra.timeoutTooShort}}
|
|
|
{{#monsterText 'error'}}
|
|
|
{{ i18n.users.call_forward.timeoutWarning }}
|
|
|
{{/monsterText}}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
|
|
|
<div class="actions clearfix">
|
|
|
<div class="pull-right">
|
|
|
<a class="cancel-link monster-link blue" href="javascript:void(0);">{{ i18n.cancel }}</a>
|
|
|
<button type="button" class="monster-button monster-button-success save">{{ i18n.saveChanges }}</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|