tasks/templates/part.collectionweek.php

28 lines
1.2 KiB
PHP
Raw Normal View History

<div ng-if="route.collectionID=='week'">
2015-07-19 12:05:29 +00:00
<div ng-repeat="day in days | filter:dayHasEntry(day)" class="grouped-tasks ui-droppable">
2014-03-28 19:11:56 +00:00
<h2 class="heading">
2014-04-05 23:09:35 +00:00
<text>{{ day | day }}</text>
2014-03-28 19:11:56 +00:00
</h2>
2015-07-19 12:05:29 +00:00
<ol class="tasks"
listID=""
collectionID="{{route.collectionID}}"
2015-07-19 12:05:29 +00:00
type="list"
dnd-list="draggedTasks"
2016-03-14 13:52:24 +00:00
dnd-drop="dropAsRootTask(event, item, index)"
2016-03-15 21:15:38 +00:00
dnd-dragover="dragover(event, index)">
2015-07-19 12:05:29 +00:00
<li class="task-item ui-draggable handler"
2016-03-14 13:52:24 +00:00
taskID="{{task.uri}}"
2015-07-19 12:05:29 +00:00
ng-animate="'animate'"
2016-09-01 23:19:26 +00:00
ng-repeat="task in filtered = filteredTasks() | filter:taskAtDay(task,day) | filter:hasNoParent(task) | filter:{'completed':'false'} | orderBy:getSortOrder():settingsmodel.getById('various').sortDirection"
ng-click="openDetails(task.uri,$event)"
2015-07-19 12:05:29 +00:00
ng-class="{done: task.completed}"
dnd-draggable="task"
dnd-dragstart="dragStart(event)"
dnd-dragend="dragEnd(event)"
2016-03-15 21:48:16 +00:00
dnd-effect-allowed="{{ allow(task) }}">
2015-06-21 11:25:21 +00:00
<?php print_unescaped($this->inc('part.taskbody')); ?>
2014-03-28 19:11:56 +00:00
</li>
</ol>
</div>
2015-07-19 12:05:29 +00:00
</div>