2015-06-15 15:53:10 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
|
|
|
<!DOCTYPE container>
|
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
>
|
2015-08-15 23:25:04 +02:00
|
|
|
<md-dialog flex-sm="100">
|
2015-07-31 17:18:29 +02:00
|
|
|
|
|
|
|
<md-toolbar ng-style="{ 'background-color': properties.calendar.color }">
|
|
|
|
<div class="md-toolbar-tools sg-padded--right">
|
|
|
|
<!-- color -->
|
|
|
|
<sg-color-picker sg-on-select="properties.calendar.color = color"><!-- color picker --></sg-color-picker>
|
|
|
|
<!-- name -->
|
|
|
|
<md-input-container>
|
|
|
|
<label><var:string label:value="Name"/></label>
|
|
|
|
<input type="text"
|
|
|
|
class="md-title"
|
|
|
|
ng-model="properties.calendar.name"/>
|
|
|
|
</md-input-container>
|
|
|
|
<md-button class="md-icon-button" ng-click="properties.close()">
|
|
|
|
<md-icon aria-label="Close dialog">close</md-icon>
|
|
|
|
</md-button>
|
2015-07-28 20:13:48 +02:00
|
|
|
</div>
|
|
|
|
</md-toolbar>
|
|
|
|
|
2015-07-31 17:18:29 +02:00
|
|
|
<md-dialog-content>
|
2015-06-15 15:53:10 +02:00
|
|
|
<md-checkbox
|
|
|
|
ng-model="properties.calendar.includeInFreeBusy"
|
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Include in free-busy"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<md-checkbox
|
|
|
|
ng-model="properties.calendar.showCalendarAlarms"
|
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Show alarms"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<md-checkbox
|
|
|
|
ng-model="properties.calendar.showCalendarTasks"
|
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Show tasks"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<md-checkbox
|
|
|
|
ng-model="properties.calendar.reloadOnLogin"
|
|
|
|
ng-show="properties.calendar.isWebCalendar"
|
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Reload on login"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<div ng-hide="properties.calendar.isWebCalendar || !properties.calendar.isOwned">
|
2015-07-31 17:18:29 +02:00
|
|
|
<md-divider><!-- divider --></md-divider>
|
2015-06-15 15:53:10 +02:00
|
|
|
<md-checkbox
|
2015-06-15 16:10:58 +02:00
|
|
|
ng-model="properties.calendar.notifications.notifyOnPersonalModifications"
|
2015-06-15 15:53:10 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Receive a mail when I modify my calendar"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<md-checkbox
|
2015-06-15 16:10:58 +02:00
|
|
|
ng-model="properties.calendar.notifications.notifyOnExternalModifications"
|
2015-06-15 15:53:10 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
|
|
|
<var:string label:value="Receive a mail when someone else modifies my calendar"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<md-checkbox
|
2015-06-15 16:10:58 +02:00
|
|
|
ng-model="properties.calendar.notifications.notifyUserOnPersonalModifications"
|
2015-06-15 15:53:10 +02:00
|
|
|
ng-true-value="1"
|
|
|
|
ng-false-value="0">
|
2015-08-19 20:29:22 +02:00
|
|
|
<var:string label:value="When I modify my calendar, send a mail to"/>
|
2015-06-15 15:53:10 +02:00
|
|
|
</md-checkbox>
|
2015-07-31 17:18:29 +02:00
|
|
|
<md-input-container md-no-float="md-no-float">
|
|
|
|
<input type="text"
|
|
|
|
label:placeholder="Email Address"
|
|
|
|
ng-value="properties.calendar.notifications.notifiedUserOnPersonalModifications"
|
|
|
|
ng-disabled="!properties.calendar.notifications.notifyUserOnPersonalModifications"/>
|
|
|
|
</md-input-container>
|
2015-06-15 15:53:10 +02:00
|
|
|
</div>
|
|
|
|
</md-dialog-content>
|
|
|
|
|
2015-07-28 20:13:48 +02:00
|
|
|
<div class="md-actions">
|
|
|
|
<md-button type="button" ng-click="properties.close()"><var:string label:value="Cancel"/></md-button>
|
2015-07-31 17:18:29 +02:00
|
|
|
<md-button ng-click="properties.saveProperties()"><var:string label:value="Save"/></md-button>
|
2015-07-28 20:13:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</md-dialog>
|
2015-06-15 15:53:10 +02:00
|
|
|
</container>
|