|
|
|
@ -34,81 +34,85 @@
@@ -34,81 +34,85 @@
|
|
|
|
|
|
|
|
|
|
<div class="md_modal_body"> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_number"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_phone"></i> |
|
|
|
|
<div class="md_modal_sections"> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_param_wrap"> |
|
|
|
|
<div class="md_modal_section_param_value" ng-bind="profile.phone | phoneNumber"></div> |
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="user_modal_phone"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_number"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_phone"></i> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_param_wrap"> |
|
|
|
|
<div class="md_modal_section_param_value" ng-bind="profile.phone | phoneNumber"></div> |
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="user_modal_phone"></div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_param_wrap"> |
|
|
|
|
<div class="md_modal_section_param_value" ng-switch="profile.username.length > 0"> |
|
|
|
|
<a ng-switch-when="true" class="settings_modal_username_link" ng-click="changeUsername()" ng-bind="'@' + profile.username"></a> |
|
|
|
|
<a ng-switch-default ng-click="changeUsername()" my-i18n="settings_modal_empty_username_set"></a> |
|
|
|
|
<div class="md_modal_section_param_wrap"> |
|
|
|
|
<div class="md_modal_section_param_value" ng-switch="profile.username.length > 0"> |
|
|
|
|
<a ng-switch-when="true" class="settings_modal_username_link" ng-click="changeUsername()" ng-bind="'@' + profile.username"></a> |
|
|
|
|
<a ng-switch-default ng-click="changeUsername()" my-i18n="settings_modal_empty_username_set"></a> |
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="user_modal_username"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="user_modal_username"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_toggle"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_notification"></i> |
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_toggle"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_notification"></i> |
|
|
|
|
|
|
|
|
|
<a class="md_modal_section_toggle_wrap tg_checkbox" ng-click="toggleDesktop()" ng-class="notify.desktop ? 'tg_checkbox_on' : ''"> |
|
|
|
|
<span class="icon icon-checkbox-outer"><i class="icon-checkbox-inner"></i></span> |
|
|
|
|
<span class="tg_checkbox_label" my-i18n="settings_modal_notifications"></span> |
|
|
|
|
</a> |
|
|
|
|
<a class="md_modal_section_toggle_wrap tg_checkbox" ng-click="toggleDesktop()" ng-class="notify.desktop ? 'tg_checkbox_on' : ''"> |
|
|
|
|
<span class="icon icon-checkbox-outer"><i class="icon-checkbox-inner"></i></span> |
|
|
|
|
<span class="tg_checkbox_label" my-i18n="settings_modal_notifications"></span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<a class="md_modal_section_toggle_wrap tg_checkbox" ng-click="toggleSound()" ng-class="notify.volume ? 'tg_checkbox_on' : ''"> |
|
|
|
|
<span class="icon icon-checkbox-outer"><i class="icon-checkbox-inner"></i></span> |
|
|
|
|
<span class="tg_checkbox_label" my-i18n="settings_modal_sound"></span> |
|
|
|
|
</a> |
|
|
|
|
<a class="md_modal_section_toggle_wrap tg_checkbox" ng-click="toggleSound()" ng-class="notify.volume ? 'tg_checkbox_on' : ''"> |
|
|
|
|
<span class="icon icon-checkbox-outer"><i class="icon-checkbox-inner"></i></span> |
|
|
|
|
<span class="tg_checkbox_label" my-i18n="settings_modal_sound"></span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_range_wrap tg_range_wrap" ng-show="notify.volume > 0"> |
|
|
|
|
<div my-slider slider-model="notify.volume"></div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_range_wrap tg_range_wrap" ng-show="notify.volume > 0"> |
|
|
|
|
<div my-slider slider-model="notify.volume"></div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_radio"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_keyboard"></i> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_radio"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_keyboard"></i> |
|
|
|
|
<div class="tg_radios_wrap"> |
|
|
|
|
<a class="md_modal_section_radio_wrap tg_radio" ng-click="toggleCtrlEnter(1)" ng-class="send.enter == 1 ? 'tg_radio_on' : ''"> |
|
|
|
|
<span class="icon icon-radio-outer"><i class="icon-radio"></i></span> |
|
|
|
|
<span my-i18n="settings_modal_enter_send_description_md"></span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<div class="tg_radios_wrap"> |
|
|
|
|
<a class="md_modal_section_radio_wrap tg_radio" ng-click="toggleCtrlEnter(1)" ng-class="send.enter == 1 ? 'tg_radio_on' : ''"> |
|
|
|
|
<span class="icon icon-radio-outer"><i class="icon-radio"></i></span> |
|
|
|
|
<span my-i18n="settings_modal_enter_send_description_md"></span> |
|
|
|
|
</a> |
|
|
|
|
<a class="md_modal_section_radio_wrap tg_radio" ng-click="toggleCtrlEnter(0)" ng-class="send.enter == 0 ? 'tg_radio_on' : ''"> |
|
|
|
|
<span class="icon icon-radio-outer"><i class="icon-radio"></i></span> |
|
|
|
|
<span my-i18n="settings_modal_ctrl_enter_send_description_md"></span> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<a class="md_modal_section_radio_wrap tg_radio" ng-click="toggleCtrlEnter(0)" ng-class="send.enter == 0 ? 'tg_radio_on' : ''"> |
|
|
|
|
<span class="icon icon-radio-outer"><i class="icon-radio"></i></span> |
|
|
|
|
<span my-i18n="settings_modal_ctrl_enter_send_description_md"></span> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_link"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_more"></i> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_select_wrap" ng-controller="AppLangSelectController"> |
|
|
|
|
<div class="dropdown md_modal_section_select" dropdown> |
|
|
|
|
<button class="btn btn-link dropdown-toggle" dropdown-toggle ng-bind="langNames[curLocale]"></button> |
|
|
|
|
<ul class="dropdown-menu dropdown-menu-to-up"> |
|
|
|
|
<li ng-repeat="locale in ::supportedLocales"> |
|
|
|
|
<a ng-click="localeSelect(locale)" ng-bind="langNames[locale]"></a> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_iconed_section_wrap md_modal_iconed_section_link"> |
|
|
|
|
<i class="md_modal_section_icon md_modal_section_icon_more"></i> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_select_wrap" ng-controller="AppLangSelectController"> |
|
|
|
|
<div class="dropdown md_modal_section_select" dropdown> |
|
|
|
|
<button class="btn btn-link dropdown-toggle" dropdown-toggle ng-bind="langNames[curLocale]"></button> |
|
|
|
|
<ul class="dropdown-menu dropdown-menu-to-up"> |
|
|
|
|
<li ng-repeat="locale in ::supportedLocales"> |
|
|
|
|
<a ng-click="localeSelect(locale)" ng-bind="langNames[locale]"></a> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="settings_modal_language"></div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_param_name" my-i18n="settings_modal_language"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_section_link_wrap"> |
|
|
|
|
<a class="md_modal_section_link" ng-click="terminateSessions()" my-i18n="settings_modal_terminate_sessions"></a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_link_wrap"> |
|
|
|
|
<a class="md_modal_section_link" ng-click="terminateSessions()" my-i18n="settings_modal_terminate_sessions"></a> |
|
|
|
|
</div> |
|
|
|
|
<div class="md_modal_section_link_wrap"> |
|
|
|
|
<a class="md_modal_section_link" ng-click="logOut()" my-i18n="head_log_out"></a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="md_modal_section_link_wrap"> |
|
|
|
|
<a class="md_modal_section_link" ng-click="logOut()" my-i18n="head_log_out"></a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|