2007-06-19 19:58:21 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
|
|
|
<!DOCTYPE var:component>
|
2008-08-21 04:36:04 +02:00
|
|
|
<var:component
|
2015-02-25 23:21:07 +01:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:uix="OGo:uix"
|
|
|
|
xmlns:rsrc="OGo:url"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
className="UIxPageFrame"
|
|
|
|
title="title"
|
2015-05-06 18:12:27 +02:00
|
|
|
const:jsFiles="Preferences.app.js, Common.js, Mailer.js, Contacts.js, Preferences.js">
|
2015-02-25 23:21:07 +01:00
|
|
|
|
2015-03-16 16:53:50 +01:00
|
|
|
<main class="view md-layout-fill" ui-view="preferences" layout="row"
|
|
|
|
ng-controller="navController"><!-- preferences --> </main>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
2015-04-03 17:34:05 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
var mailCustomFromEnabled = <var:string value="mailCustomFromEnabled" const:escapeHTML="NO"/>;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/ng-template" id="preferences.html">
|
|
|
|
|
|
|
|
<md-sidenav id="left-sidenav" class="md-sidenav-left md-whiteframe-z1" md-component-id="left" md-is-locked-open="$mdMedia('gt-md')" layout="column">
|
|
|
|
<var:component className="UIxSidenavToolbarTemplate" />
|
2015-04-21 19:40:39 +02:00
|
|
|
<md-content md-scroll-y="md-scroll-y" class="md-flex">
|
2015-04-03 17:34:05 +02:00
|
|
|
<md-list>
|
2015-04-21 19:40:39 +02:00
|
|
|
<md-list-item ui-sref-active="sg-active">
|
|
|
|
<button class="md-button md-flex sg-item-name"
|
|
|
|
ui-sref="preferences.general"><var:string label:value="General"/></button>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-list-item>
|
2015-04-21 19:40:39 +02:00
|
|
|
<md-list-item ui-sref-active="sg-active">
|
|
|
|
<button class="md-button md-flex sg-item-name"
|
|
|
|
ui-sref="preferences.calendars"><var:string label:value="Calendar"/></button>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-list-item>
|
2015-04-21 19:40:39 +02:00
|
|
|
<md-list-item ui-sref-active="sg-active">
|
|
|
|
<button class="md-button md-flex sg-item-name"
|
|
|
|
ui-sref="preferences.addressbooks"><var:string label:value="Contacts"/></button>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-list-item>
|
2015-04-21 19:40:39 +02:00
|
|
|
<md-list-item ui-sref-active="sg-active">
|
|
|
|
<button class="md-button md-flex sg-item-name"
|
|
|
|
ui-sref="preferences.mailer"><var:string label:value="Mail"/></button>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-list-item>
|
2015-04-03 17:34:05 +02:00
|
|
|
</md-list>
|
|
|
|
</md-content>
|
|
|
|
</md-sidenav>
|
|
|
|
|
|
|
|
<section layout="column" class="md-layout-fill">
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-04-03 17:34:05 +02:00
|
|
|
<!-- TOP RIGHT TOOLBAR -->
|
|
|
|
<md-toolbar layout="row" layout-align="space-between start" class="md-tall">
|
2015-04-07 22:49:24 +02:00
|
|
|
<div class="md-toolbar-tools md-toolbar-tools-top sg-padded" layout="row" layout-align="space-between start">
|
2015-04-10 18:22:24 +02:00
|
|
|
<var:component className="UIxTopnavToolbarTemplate" />
|
2015-04-07 22:49:24 +02:00
|
|
|
<div class="sg-toolbar-group-last">
|
|
|
|
<md-button class="iconButton" label:aria-label="Menu">
|
|
|
|
<i class="md-icon-more-vert"><!--icon--></i>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-04-03 17:34:05 +02:00
|
|
|
</div>
|
|
|
|
</md-toolbar>
|
|
|
|
|
2015-05-19 16:55:40 +02:00
|
|
|
<md-content>
|
|
|
|
<form name="preferencesForm"
|
|
|
|
ng-submit="app.save()">
|
|
|
|
<div ui-view="module"><!-- view --></div>
|
|
|
|
<div class="md-actions">
|
|
|
|
<md-button type="submit">
|
|
|
|
<var:string label:value="Save" />
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</md-content>
|
2015-04-03 17:34:05 +02:00
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</script>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<!--
|
|
|
|
GENERAL PREFERENCE PANEL
|
|
|
|
-->
|
|
|
|
<script type="text/ng-template" id="generalPreferences.html">
|
|
|
|
|
2015-06-19 20:52:00 +02:00
|
|
|
<md-tabs class="md-flex" md-dynamic-height="true">
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<!-- GENERAL OPTIONS -->
|
|
|
|
<md-tab id="generalOptionsView" aria-controls="generalOptionsView-content" label:label="General">
|
2015-04-28 19:40:27 +02:00
|
|
|
<div aria-labelledby="generalOptionsView" id="generalOptionsView-content">
|
2015-02-25 23:21:07 +01:00
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="SOGo Version :"/></div>
|
|
|
|
<div><var:string value="sogoVersion"/></div>
|
2010-08-06 17:34:05 +02:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Language :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Language :" ng-model="app.preferences.defaults.SOGoLanguage">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="languages" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="languageText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
2010-09-01 22:27:45 +02:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Current Time Zone :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Current Time Zone :" ng-model="app.preferences.defaults.SOGoTimeZone">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="timeZonesList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="item"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Short Date Format :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Short Date Format :" ng-model="app.preferences.defaults.SOGoShortDateFormat">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="shortDateFormatsList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemShortDateFormatText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
|
|
|
|
<!-- <var:popup list="shortDateFormatsList" item="item"
|
|
|
|
const:id="shortDateFormat"
|
|
|
|
const:name="shortDateFormat"
|
|
|
|
string="itemShortDateFormatText"
|
|
|
|
selection="userShortDateFormat" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Long Date Format :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Long Date Format :" ng-model="app.preferences.defaults.SOGoLongDateFormat">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="longDateFormatsList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemLongDateFormatText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="longDateFormatsList" item="item"
|
|
|
|
const:id="longDateFormat"
|
|
|
|
const:name="longDateFormat"
|
|
|
|
string="itemLongDateFormatText"
|
|
|
|
selection="userLongDateFormat" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Time Format :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Time Format :" ng-model="app.preferences.defaults.SOGoTimeFormat">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="timeFormatsList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemTimeFormatText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="timeFormatsList" item="item"
|
|
|
|
const:id="timeFormat"
|
|
|
|
const:name="timeFormat"
|
|
|
|
string="itemTimeFormatText"
|
|
|
|
selection="userTimeFormat" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Default Module:"/></div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Default Module:" ng-model="app.preferences.defaults.SOGoLoginModule">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="availableModules" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemModuleText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Refresh View :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Refresh View :" ng-model="app.preferences.defaults.SOGoRefreshViewCheck">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="refreshViewList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemRefreshViewCheckText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2010-08-06 17:34:05 +02:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-tab>
|
|
|
|
|
|
|
|
<!-- PASSWORD OPTIONS -->
|
|
|
|
<var:if condition="shouldDisplayPasswordChange">
|
|
|
|
<md-tab id="generalPasswordView"
|
|
|
|
aria-controls="generalPasswordView-content"
|
|
|
|
label:label="Password">
|
|
|
|
<div id="passwordView">
|
|
|
|
<md-input-container>
|
|
|
|
<label><var:string label:value="New password:"/>
|
|
|
|
</label>
|
2015-05-06 15:02:44 +02:00
|
|
|
<input type="password" ng-model="app.passwords.newPassword"/>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-input-container>
|
|
|
|
|
|
|
|
<md-input-container>
|
|
|
|
<label><var:string label:value="Confirmation:"/>
|
|
|
|
</label>
|
2015-05-06 15:02:44 +02:00
|
|
|
<input type="password" ng-model="app.passwords.newPasswordConfirmation"/>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-input-container>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.changePassword()" type="button" ng-disabled="!app.canChangePassword()">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:string label:value="Change"/>
|
|
|
|
</md-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</md-tab>
|
|
|
|
</var:if>
|
|
|
|
|
|
|
|
</md-tabs>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
CALENDAR PREFERENCE PANEL
|
|
|
|
-->
|
|
|
|
<script type="text/ng-template" id="calendarsPreferences.html">
|
2015-06-19 20:52:00 +02:00
|
|
|
<md-tabs class="md-flex" md-dynamic-height="true">
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<!-- CALENDAR - GENERAL -->
|
|
|
|
<md-tab id="calendarOptionsView"
|
|
|
|
aria-controls="calendarOptionsView-content"
|
|
|
|
label:label="General">
|
|
|
|
<!-- <script type="text/ng-template" id="calendarsPreferences.html"> -->
|
|
|
|
<var:if condition="userHasCalendarAccess">
|
|
|
|
<div role="tabpanel"
|
|
|
|
aria-labelledby="calendarOptionsView"
|
|
|
|
id="calendarOptionsView-content">
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Week begins on :" /></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Week begins on :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoFirstDayOfWeek">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="daysList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemWeekStartDay"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="daysList" item="item"
|
|
|
|
const:id="weekStartDay"
|
|
|
|
const:name="weekStartDay"
|
|
|
|
string="itemWeekStartDay"
|
|
|
|
selection="userWeekStartDay" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Day start time :" /></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Day start time :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoDayStartTime">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="hoursList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="item"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="hoursList" item="item"
|
|
|
|
const:id="dayStartTime"
|
|
|
|
const:name="dayStartTime"
|
|
|
|
string="item"
|
|
|
|
selection="userDayStartTime" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Day end time :" /></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Day end time :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoDayEndTime">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="hoursList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="item"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="hoursList" item="item"
|
|
|
|
const:id="dayEndTime"
|
|
|
|
const:name="dayEndTime"
|
|
|
|
string="item"
|
|
|
|
selection="userDayEndTime"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.SOGoBusyOffHours"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Show time as busy outside working hours"/>
|
|
|
|
</md-checkbox>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="First week of year :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="First week of year :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoFirstWeekOfYear">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="firstWeekList" item="item">
|
2015-04-07 22:32:51 +02:00
|
|
|
<md-option var:value="item">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:string value="itemFirstWeekText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="firstWeekList" item="item"
|
|
|
|
const:id="firstWeek"
|
|
|
|
const:name="firstWeek"
|
|
|
|
string="itemFirstWeekText"
|
|
|
|
selection="userFirstWeek"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Default calendar :" /></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Default calendar :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoDefaultCalendar">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="defaultCalendarList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemCalendarText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="defaultCalendarList" item="item"
|
|
|
|
const:id="defaultCalendar"
|
|
|
|
const:name="defaultCalendar"
|
|
|
|
string="itemCalendarText"
|
|
|
|
selection="userDefaultCalendar"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Default events classification :" /></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Default events classification :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoCalendarEventsDefaultClassification">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="calendarClassificationsList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemClassificationText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="calendarClassificationsList" item="item"
|
|
|
|
const:id="eventsClassification"
|
|
|
|
const:name="eventsClassification"
|
|
|
|
string="itemClassificationText"
|
|
|
|
selection="eventsDefaultClassification"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Default tasks classification :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Default tasks classification :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoCalendarTasksDefaultClassification">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="calendarClassificationsList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemClassificationText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="calendarClassificationsList" item="item"
|
|
|
|
const:id="tasksClassification"
|
|
|
|
const:name="tasksClassification"
|
|
|
|
string="itemClassificationText"
|
|
|
|
selection="tasksDefaultClassification"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Default reminder :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Default reminder :"
|
|
|
|
ng-model="app.preferences.defaults.SOGoCalendarDefaultReminder">
|
2015-04-10 15:44:30 +02:00
|
|
|
<var:foreach list="reminderValues" item="item">
|
2015-02-25 23:21:07 +01:00
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemReminderText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
<!-- <var:popup list="reminderList" item="item"
|
|
|
|
const:disabledValue="-"
|
|
|
|
label:noSelectionString="reminder_NONE"
|
|
|
|
const:name="reminderList"
|
|
|
|
const:id="reminderList"
|
|
|
|
string="itemReminderText"
|
|
|
|
var:selection="reminder"/> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</var:if>
|
|
|
|
</md-tab>
|
|
|
|
|
|
|
|
<!-- CALENDAR - CATEGORIES -->
|
|
|
|
<md-tab id="calendarCategories"
|
|
|
|
aria-controls="calendarCategories-content"
|
|
|
|
label:label="Categories">
|
|
|
|
|
2015-04-23 15:47:51 +02:00
|
|
|
<md-list>
|
|
|
|
<md-list-item ng-repeat="item in
|
2015-05-06 15:02:44 +02:00
|
|
|
app.preferences.defaults.SOGoCalendarCategories
|
2015-04-23 15:47:51 +02:00
|
|
|
track by $index">
|
2015-05-06 15:02:44 +02:00
|
|
|
<i class="md-avatar" ng-style="{'background-color': '{{app.preferences.defaults.SOGoCalendarCategoriesColors[item]}}'}"><!-- category color --></i>
|
2015-04-23 15:47:51 +02:00
|
|
|
<md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<input type="text" label:aria-label="Calendar Category" ng-model="app.preferences.defaults.SOGoCalendarCategories[$index]"/>
|
2015-04-23 15:47:51 +02:00
|
|
|
</md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button type="button"
|
|
|
|
layout="row" layout-align="end center"
|
|
|
|
label:aria-label="Remove Calendar Category"
|
|
|
|
ng-click="app.removeCalendarCategory($index)">
|
2015-04-23 15:47:51 +02:00
|
|
|
<div class="md-icon-remove"><!-- delete --></div>
|
|
|
|
</md-button>
|
|
|
|
</md-list-item>
|
|
|
|
</md-list>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-19 16:55:40 +02:00
|
|
|
<div class="bottomToolbar">
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button label:aria-label="Add Calendar Category" ng-click="app.addCalendarCategory()" type="button">
|
2015-05-19 16:55:40 +02:00
|
|
|
<div class="md-icon-add"><!-- create --></div>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
</md-tab>
|
|
|
|
|
|
|
|
<!-- CALENDAR - INVITATIONS -->
|
2015-05-19 16:55:40 +02:00
|
|
|
<md-tab id="calendarInvitationsTab"
|
|
|
|
aria-controls="calendarInvitationsTab-content"
|
|
|
|
label:label="Invitations">
|
|
|
|
<div role="tabpanel"
|
|
|
|
aria-labelledby="calendarInvitationsTab"
|
|
|
|
id="calendarInvitationsTab-content">
|
|
|
|
|
2015-02-25 23:21:07 +01:00
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.settings.Calendar.PreventInvitations"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Prevent from being invited to appointments"/>
|
|
|
|
</md-checkbox>
|
|
|
|
|
2015-05-06 15:02:44 +02:00
|
|
|
<div ng-show="app.preferences.settings.Calendar.PreventInvitations == 1">
|
2015-05-05 22:11:40 +02:00
|
|
|
<label>
|
2015-04-20 23:28:43 +02:00
|
|
|
<var:string label:value="White list for appointment invitations:"/>
|
|
|
|
</label>
|
|
|
|
<md-contact-chips
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.settings.Calendar.PreventInvitationsWhitelist"
|
2015-05-27 20:59:49 +02:00
|
|
|
md-contacts="app.userFilter($query, app.preferences.settings.Calendar.PreventInvitationsWhitelist)"
|
2015-05-07 16:04:50 +02:00
|
|
|
md-contact-name="cn"
|
|
|
|
md-contact-image="$$image"
|
2015-04-20 23:28:43 +02:00
|
|
|
md-contact-email="c_email"
|
|
|
|
md-require-match="md-require-match"
|
2015-05-06 23:45:28 +02:00
|
|
|
filter-selected="false"
|
2015-05-19 20:50:26 +02:00
|
|
|
label:placeholder="Add"><!-- users --></md-contact-chips>
|
2015-02-25 23:21:07 +01:00
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2010-02-22 16:12:42 +01:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-tab>
|
|
|
|
|
|
|
|
</md-tabs>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
CONTACTS PREFERENCE PANEL
|
|
|
|
-->
|
|
|
|
<script type="text/ng-template" id="addressbooksPreferences.html">
|
2015-06-19 20:52:00 +02:00
|
|
|
<md-content layout="row" class="md-flex">
|
|
|
|
<md-tabs md-dynamic-height="true">
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<!-- CONTACT > GENERAL -->
|
2015-03-20 15:35:15 +01:00
|
|
|
<!-- <md-tab id="contactsGeneralTab"
|
2015-02-25 23:21:07 +01:00
|
|
|
aria-controls="contactsGeneralTab-content" label:label="General">
|
|
|
|
GENERAL
|
2015-03-20 15:35:15 +01:00
|
|
|
</md-tab> -->
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- END OF CONTACT > GENERAL -->
|
|
|
|
|
|
|
|
<!-- CONTACT > CATEGORIES -->
|
|
|
|
<md-tab id="contactsCategoriesTab" aria-controls="contactsCategoriesTab-content" label:label="Categories">
|
|
|
|
|
|
|
|
<div role="tabpanel" aria-labelledby="contactsCategoriesView" id="contactsCategoriesView-content">
|
|
|
|
<!-- <label><var:string label:value="Categories"/></label> -->
|
|
|
|
<md-list>
|
2015-04-09 20:46:54 +02:00
|
|
|
<md-list-item ng-repeat="item in
|
2015-05-06 15:02:44 +02:00
|
|
|
app.preferences.defaults.SOGoContactsCategories
|
2015-04-09 20:46:54 +02:00
|
|
|
track by $index">
|
|
|
|
<md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<input type="text"
|
|
|
|
label:aria-label="Contact Category"
|
|
|
|
ng-model="app.preferences.defaults.SOGoContactsCategories[$index]"/>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button type="button" layout="row" layout-align="end center"
|
|
|
|
label:aria-label="Remove Contact Category"
|
|
|
|
ng-click="app.removeContactCategory($index)"
|
|
|
|
>
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-remove md-icon-lg"><!-- delete --></div>
|
|
|
|
</md-button>
|
|
|
|
</md-list-item>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-list>
|
|
|
|
|
|
|
|
<div class="bottomToolbar">
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button type="button"
|
|
|
|
label:aria-label="Add Contact Category"
|
|
|
|
ng-click="app.addContactCategory()">
|
2015-02-25 23:21:07 +01:00
|
|
|
<div class="md-icon-add"><!-- create --></div>
|
|
|
|
</md-button>
|
2010-04-12 19:51:59 +02:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
2010-02-22 16:12:42 +01:00
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-tab>
|
|
|
|
<!-- END OF CONTACT > CATEGORIES -->
|
|
|
|
|
|
|
|
</md-tabs>
|
2015-06-19 20:52:00 +02:00
|
|
|
</md-content>
|
2015-02-25 23:21:07 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
MAIL PREFERENCE PANEL
|
|
|
|
-->
|
|
|
|
<script type="text/ng-template" id="mailerPreferences.html">
|
|
|
|
<var:if condition="userHasMailAccess">
|
2015-06-19 20:52:00 +02:00
|
|
|
<md-tabs class="md-flex" md-dynamic-height="true">
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
<!-- MAIL > GENERAL -->
|
|
|
|
<md-tab id="mailGeneralTab" aria-controls="mailGeneralTab-content" label:label="General">
|
|
|
|
<div role="tabpanel" aria-labelledby="mailGeneralView" id="mailGeneralView-content">
|
|
|
|
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.SOGoMailShowSubscribedFoldersOnly"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
2015-04-13 15:47:33 +02:00
|
|
|
ng-false-value="0"
|
|
|
|
label:aria-label="Show subscribed mailboxes only">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:string label:value="Show subscribed mailboxes only"/>
|
|
|
|
</md-checkbox>
|
|
|
|
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.SOGoMailSortByThreads"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
2015-04-13 15:47:33 +02:00
|
|
|
ng-false-value="0"
|
|
|
|
label:aria-label="Sort messages by threads">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:string label:value="Sort messages by threads"/>
|
|
|
|
</md-checkbox>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.SOGoMailAddOutgoingAddresses"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
2015-04-13 15:47:33 +02:00
|
|
|
ng-false-value="0"
|
|
|
|
label:arial-label="When sending mail, add unknown recipients to my">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:string label:value="When sending mail, add unknown recipients to my"/>
|
|
|
|
</md-checkbox>
|
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<md-select
|
2015-05-20 18:15:31 +02:00
|
|
|
label:aria-label="Address Book"
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-disabled="app.preferences.defaults.SOGoMailAddOutgoingAddresses == 0"
|
|
|
|
ng-model="app.preferences.defaults.SOGoSelectedAddressBook">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="addressBookList" item="item">
|
2015-04-13 15:47:33 +02:00
|
|
|
<md-option var:value="item.id">
|
|
|
|
<var:string value="item.name"/>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Forward messages:"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Forward messages:"
|
|
|
|
ng-model="app.preferences.defaults.SOGoMailMessageForwarding">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="messageForwardingList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemMessageForwardingText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="When replying to a message:"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="When replying to a message:"
|
|
|
|
ng-model="app.preferences.defaults.SOGoMailReplyPlacement">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="replyPlacementList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemReplyPlacementText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="And place my signature"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="And place my signature"
|
|
|
|
ng-model="app.preferences.defaults.SOGoMailSignaturePlacement">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="signaturePlacementList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemSignaturePlacementText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Compose messages in"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Compose messages in"
|
|
|
|
ng-model="app.preferences.defaults.SOGoMailComposeMessageType">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="composeMessagesType" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemComposeMessagesText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Display remote inline images"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Display remote inline images"
|
|
|
|
ng-model="app.preferences.defaults.SOGoMailDisplayRemoteInlineImages">
|
2015-02-25 23:21:07 +01:00
|
|
|
<var:foreach list="displayRemoteInlineImages" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="itemDisplayRemoteInlineImagesText"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Auto save every"/></div>
|
|
|
|
<md-input-container class="md-input-number">
|
|
|
|
<input type="number" label:aria-label="minutes" ng-model="preferences.defaults.SOGoMailAutoSave"/>
|
|
|
|
</md-input-container>
|
|
|
|
<var:string label:value="minutes"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</md-tab>
|
|
|
|
<!-- END OF MAIL > GENERAL -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MAIL > FILTERS -->
|
2015-03-26 18:37:44 +01:00
|
|
|
<var:if condition="isSieveScriptsEnabled">
|
|
|
|
<md-tab id="mailFiltersTab"
|
|
|
|
aria-controls="mailFiltersTab-content"
|
|
|
|
label:label="Filters">
|
|
|
|
<div role="tabpanel" aria-labelledby="mailFiltersView"
|
|
|
|
id="mailFiltersView-content">
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-03-26 18:37:44 +01:00
|
|
|
<md-list>
|
2015-04-09 20:46:54 +02:00
|
|
|
<md-list-item ng-repeat="item in
|
2015-05-06 15:02:44 +02:00
|
|
|
app.preferences.defaults.SOGoSieveFilters
|
2015-04-09 20:46:54 +02:00
|
|
|
track by $index">
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.SOGoSieveFilters[$index].active"
|
2015-04-09 20:46:54 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<!-- active or not-->
|
|
|
|
</md-checkbox>
|
|
|
|
<md-input-container>
|
2015-05-06 04:06:13 +02:00
|
|
|
<input type="text" ng-model="app.preferences.defaults.SOGoSieveFilters[$index].name"/>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-input-container>
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.editMailFilter($index)"
|
2015-04-28 19:40:27 +02:00
|
|
|
type="button"
|
2015-04-13 15:47:33 +02:00
|
|
|
layout="row" layout-align="end center"
|
|
|
|
label:aria-label="Edit Filter">
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-edit md-icon-lg"><!-- edit --></div>
|
|
|
|
</md-button>
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.removeMailFilter($index)"
|
2015-04-09 20:46:54 +02:00
|
|
|
type="button"
|
2015-04-13 15:47:33 +02:00
|
|
|
layout="row" layout-align="end center"
|
|
|
|
label:aria-label="Delete Filter">
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-remove"><!-- delete --></div>
|
|
|
|
</md-button>
|
|
|
|
</md-list-item>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-list>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- FIXME: move up/down to be replaced by DnD? -->
|
|
|
|
<div class="bottomToolbar">
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.addMailFilter($event)"
|
2015-04-13 15:47:33 +02:00
|
|
|
type="button"
|
|
|
|
label:aria-label="Create Filter">
|
2015-02-25 23:21:07 +01:00
|
|
|
<div class="md-icon-add"><!-- create --></div>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-03-26 18:37:44 +01:00
|
|
|
</div>
|
|
|
|
</md-tab>
|
|
|
|
</var:if>
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- END OF MAIL > FILTERS -->
|
|
|
|
|
|
|
|
<!-- MAIL > LABELS -->
|
|
|
|
<md-tab id="mailLabelsTab"
|
|
|
|
aria-controls="mailLabelsTab-content" label:label="Labels">
|
|
|
|
|
|
|
|
<div role="tabpanel" aria-labelledby="mailLabelsView" id="mailLabelsView-content">
|
|
|
|
<md-list>
|
2015-04-09 20:46:54 +02:00
|
|
|
<md-list-item ng-repeat="(key, value) in
|
2015-05-06 15:02:44 +02:00
|
|
|
app.preferences.defaults.SOGoMailLabelsColors">
|
2015-04-28 21:25:59 +02:00
|
|
|
<i class="md-avatar" ng-style="{'background-color': '{{value[1]}}'}"><!-- label color --></i>
|
2015-04-09 20:46:54 +02:00
|
|
|
<md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<input type="text"
|
|
|
|
label:aria-label="Label"
|
|
|
|
ng-model="value[0]"/>
|
2015-04-09 20:46:54 +02:00
|
|
|
</md-input-container>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button type="button"
|
2015-04-13 15:47:33 +02:00
|
|
|
layout="row" layout-align="end center"
|
2015-05-20 18:15:31 +02:00
|
|
|
label:aria-label="Delete Label"
|
|
|
|
ng-click="app.removeMailLabel(key)">
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-remove"><!-- delete --></div>
|
|
|
|
</md-button>
|
|
|
|
</md-list-item>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-list>
|
|
|
|
|
|
|
|
<div class="bottomToolbar">
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-button type="button"
|
|
|
|
label:aria-label="Create Label"
|
|
|
|
ng-click="app.addMailLabel()">
|
2015-02-25 23:21:07 +01:00
|
|
|
<div class="md-icon-add"><!-- create --></div>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</md-tab>
|
|
|
|
<!-- END OF MAIL > LABELS -->
|
|
|
|
|
|
|
|
<!-- MAIL > ACCOUNTS -->
|
|
|
|
<md-tab id="mailAccountsTab"
|
|
|
|
aria-controls="mailAccountsTab-content"
|
|
|
|
label:label="Accounts">
|
|
|
|
|
|
|
|
<md-list>
|
2015-04-09 20:46:54 +02:00
|
|
|
<md-list-item ng-repeat="item in
|
2015-05-06 15:02:44 +02:00
|
|
|
app.preferences.defaults.AuxiliaryMailAccounts
|
2015-04-09 20:46:54 +02:00
|
|
|
track by $index">
|
|
|
|
<md-input-container>
|
|
|
|
<input type="text"
|
2015-05-20 18:15:31 +02:00
|
|
|
label:aria-label="Mail Account"
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.AuxiliaryMailAccounts[$index].name"
|
2015-04-09 20:46:54 +02:00
|
|
|
ng-readonly="$index == 0"/>
|
|
|
|
</md-input-container>
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.editMailAccount($index)"
|
2015-04-09 20:46:54 +02:00
|
|
|
type="button"
|
2015-04-13 15:47:33 +02:00
|
|
|
layout="row"
|
|
|
|
layout-align="end center"
|
|
|
|
label:aria-label="Edit Account">
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-edit md-icon-lg"><!-- edit --></div>
|
|
|
|
</md-button>
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.removeMailAccount($index)"
|
2015-04-13 15:47:33 +02:00
|
|
|
ng-show="$index > 0"
|
|
|
|
type="button"
|
|
|
|
layout="row"
|
|
|
|
layout-align="end center"
|
|
|
|
label:aria-label="Delete Account">
|
2015-04-09 20:46:54 +02:00
|
|
|
<div class="md-icon-remove md-icon-lg"><!-- delete --></div>
|
|
|
|
</md-button>
|
|
|
|
</md-list-item>
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-list>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-03-26 18:37:44 +01:00
|
|
|
<var:if condition="mailAuxiliaryUserAccountsEnabled">
|
|
|
|
<div class="bottomToolbar">
|
2015-05-06 15:02:44 +02:00
|
|
|
<md-button ng-click="app.addMailAccount()"
|
2015-04-13 15:47:33 +02:00
|
|
|
type="button"
|
|
|
|
label:aria-label="Create Account">
|
2015-03-26 18:37:44 +01:00
|
|
|
<div class="md-icon-add"><!-- create --></div>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</var:if>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
</md-tab>
|
|
|
|
<!-- END OF MAIL > ACCOUNTS -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MAIL > VACATION -->
|
2015-03-26 18:37:44 +01:00
|
|
|
<var:if condition="isVacationEnabled">
|
|
|
|
<md-tab id="mailVacationTab" aria-controls="mailVacationTab-content" label:label="Vacation">
|
|
|
|
<div role="tabpanel" aria-labelledby="mailVacationView" id="mailVacationView-content">
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-03-26 18:37:44 +01:00
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.enabled"
|
2015-03-26 18:37:44 +01:00
|
|
|
ng-true-value="1"
|
2015-04-13 15:47:33 +02:00
|
|
|
ng-false-value="0"
|
|
|
|
label:aria-label="Enable vacation auto reply">
|
2015-03-26 18:37:44 +01:00
|
|
|
<var:string label:value="Enable vacation auto reply"/>
|
|
|
|
</md-checkbox>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-06 15:02:44 +02:00
|
|
|
<div ng-show="app.preferences.defaults.Vacation.enabled == 1">
|
2015-05-05 22:11:40 +02:00
|
|
|
<div>
|
|
|
|
<label><var:string label:value="Auto reply message :"/>
|
|
|
|
<textarea const:name="autoReplyText"
|
|
|
|
const:id="autoReplyText"
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.autoReplyText"/>
|
2015-05-05 22:11:40 +02:00
|
|
|
</label>
|
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-03-26 18:37:44 +01:00
|
|
|
<div>
|
2015-05-05 22:11:40 +02:00
|
|
|
<!-- <script>
|
|
|
|
var defaultEmailAddresses = <var:string value="defaultEmailAddresses" const:escapeHTML="NO"/>;
|
|
|
|
</script> -->
|
|
|
|
<label><var:string label:value="Email addresses (separated by commas) :"/></label><br/>
|
|
|
|
<textarea const:name="autoReplyEmailAddresses"
|
|
|
|
const:id="autoReplyEmailAddresses"
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.autoReplyEmailAddresses"/><br/>
|
2015-05-05 22:11:40 +02:00
|
|
|
<md-button>
|
|
|
|
<var:string label:value="Add default email addresses" type="button"/>
|
|
|
|
</md-button>
|
2015-03-26 18:37:44 +01:00
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<div><var:string label:value="Days between responses :"/></div>
|
|
|
|
<div>
|
2015-05-20 18:15:31 +02:00
|
|
|
<md-select label:aria-label="Days between responses :"
|
|
|
|
ng-model="app.preferences.defaults.Vacation.daysBetweenResponse">
|
2015-05-05 22:11:40 +02:00
|
|
|
<var:foreach list="daysBetweenResponsesList" item="item">
|
|
|
|
<md-option var:value="item">
|
|
|
|
<var:string value="item"/>
|
|
|
|
</md-option>
|
|
|
|
</var:foreach>
|
|
|
|
</md-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-03-26 18:37:44 +01:00
|
|
|
<md-checkbox
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.ignoreLists"
|
2015-03-26 18:37:44 +01:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
2015-05-05 22:11:40 +02:00
|
|
|
<var:string label:value="Do not send responses to mailing lists" />
|
2015-03-26 18:37:44 +01:00
|
|
|
</md-checkbox>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<div layout="row" layout-align="space-around center">
|
|
|
|
<md-checkbox
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.endDateEnabled"
|
2015-05-05 22:11:40 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Disable auto reply on" />
|
|
|
|
</md-checkbox>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<div class="value">
|
|
|
|
<p class="PseudoField-inputLike--underline">
|
2015-05-06 15:02:44 +02:00
|
|
|
<input ng-disabled="app.preferences.defaults.Vacation.endDateEnabled == 0" type="date" ng-model="app.preferences.defaults.Vacation.endDate"/>
|
2015-05-05 22:11:40 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
</div>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<md-checkbox
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Vacation.alwaysSend"
|
2015-05-05 22:11:40 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Always send vacation message response"/>
|
|
|
|
</md-checkbox>
|
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
</div>
|
2015-03-26 18:37:44 +01:00
|
|
|
</md-tab>
|
|
|
|
</var:if>
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- END OF MAIL > VACATION -->
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- MAIL > FORWARD -->
|
2015-03-26 18:37:44 +01:00
|
|
|
<var:if condition="isForwardEnabled">
|
|
|
|
<md-tab id="mailForwardTab" aria-controls="mailForwardTab-content" label:label="Forward">
|
|
|
|
<div role="tabpanel" aria-labelledby="mailForwardView" id="mailForwardView-content">
|
2015-02-25 23:21:07 +01:00
|
|
|
<div id="forwardView" class="tab">
|
|
|
|
<md-checkbox
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.Forward.enabled"
|
2015-02-25 23:21:07 +01:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Forward incoming messages"/>
|
|
|
|
</md-checkbox>
|
|
|
|
|
2015-05-06 15:02:44 +02:00
|
|
|
<div ng-show="app.preferences.defaults.Forward.enabled == 1">
|
2015-02-25 23:21:07 +01:00
|
|
|
<label><var:string label:value="Email addresses (separated by commas) :"/><br/>
|
2015-03-26 18:37:44 +01:00
|
|
|
<textarea const:name="forwardAddress"
|
|
|
|
const:id="forwardAddress"
|
2015-05-06 04:06:13 +02:00
|
|
|
ng-model="app.preferences.defaults.Forward.forwardAddress" />
|
2015-02-25 23:21:07 +01:00
|
|
|
</label><br/>
|
2015-04-28 19:40:27 +02:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<md-checkbox
|
2015-05-06 15:02:44 +02:00
|
|
|
ng-model="app.preferences.defaults.Forward.keepCopy"
|
2015-05-05 22:11:40 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Keep a copy" />
|
|
|
|
</md-checkbox>
|
|
|
|
|
|
|
|
</div>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
2015-05-05 22:11:40 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
var forwardConstraints = <var:string value="forwardConstraints" const:escapeHTML="NO"/>;
|
|
|
|
</script>
|
2015-02-25 23:21:07 +01:00
|
|
|
|
|
|
|
</div>
|
2015-05-05 22:11:40 +02:00
|
|
|
</div>
|
2015-03-26 18:37:44 +01:00
|
|
|
</md-tab>
|
|
|
|
</var:if>
|
2015-02-25 23:21:07 +01:00
|
|
|
<!-- END OF MAIL > FORWARD -->
|
|
|
|
|
2015-06-19 20:52:00 +02:00
|
|
|
|
2015-02-25 23:21:07 +01:00
|
|
|
</md-tabs>
|
|
|
|
</var:if>
|
|
|
|
</script>
|
|
|
|
|
2007-06-19 19:58:21 +02:00
|
|
|
</var:component>
|