2016-03-06 14:04:10 +00:00
|
|
|
<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=""
|
2016-03-06 14:04:10 +00:00
|
|
|
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)"
|
2015-07-19 12:05:29 +00:00
|
|
|
dnd-dragover="dragover(event, item, index)">
|
|
|
|
<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'"
|
|
|
|
ng-repeat="task in filtered = filteredTasks() | filter:taskAtDay(task,day) | filter:hasNoParent(task) | filter:{'completed':'false'} | orderBy:sortDue | orderBy:'priority':true"
|
2016-03-06 14:04:10 +00:00
|
|
|
ng-click="openDetails(task.uri,$event)"
|
2015-07-19 12:05:29 +00:00
|
|
|
ng-class="{done: task.completed}"
|
|
|
|
dnd-draggable="task"
|
|
|
|
dnd-effect-allowed="move">
|
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>
|