tasks/templates/part.settings.php

38 lines
1.9 KiB
PHP
Raw Normal View History

2014-07-13 16:17:37 +00:00
<div id="settings_modal" stop-event="click">
2014-05-27 17:59:35 +00:00
<div class="header">
<h2><?php p($l->t('Settings')); ?></h2>
<div class="button" ng-click="ok()">
<text><?php p($l->t('Done')); ?></text>
</div>
</div>
<div class="content">
<tabset justified="true">
<tab>
<tab-heading><?php p($l->t('General')); ?></tab-heading>
2014-07-13 16:17:37 +00:00
<text><?php p($l->t('General Settings')); ?></text>
<ul>
<li>
<span class="icon none"></span>
<span class="title"><text><?php p($l->t('Start of week')); ?></text></span>
<span>
<select ng-change="setStartOfWeek()" ng-model="settingsmodel.getById('various').startOfWeek" ng-options="startOfWeekOption.id as startOfWeekOption.name for startOfWeekOption in startOfWeekOptions"></select>
</span>
</li>
</ul>
2014-05-27 17:59:35 +00:00
</tab>
<tab>
<tab-heading><?php p($l->t('Smart Collections')); ?></tab-heading>
<text><?php p($l->t('Visibility of Smart Collections')); ?></text>
<ul>
<li ng-repeat="collection in collections">
<span class="icon collection-{{ collection.id }}"><text ng-show="collection.id=='today'"><?php p($_['DOM']); ?></text></span>
<span class="title"><text>{{ collection.displayname }}</text></span>
<span>
<select ng-change="setVisibility(collection.id)" ng-model="collection.show" ng-options="collectionOption.id as collectionOption.name for collectionOption in collectionOptions"></select>
</span>
</li>
</ul>
</tab>
</tabset>
</div>
</div>