33 lines
No EOL
2.1 KiB
PHP
33 lines
No EOL
2.1 KiB
PHP
<div ng-if="route.listID=='week'">
|
|
<div ng-repeat="day in days | filter:dayHasEntry(day)" class="grouped-tasks ui-droppable" rel="{{ list.id }}">
|
|
<h2 class="heading">
|
|
<text>{{ day | day }}</text>
|
|
</h2>
|
|
<ol class="tasks">
|
|
<li ng-animate="'animate'" ng-repeat="task in getTasksAtDay(tasks, day) | filter:filterTasksByString(task) | filter:{'completed':'false'} | orderBy:sortDue | orderBy:'priority':true"
|
|
class="task-item ui-draggable handler" rel="{{ task.id }}" ng-click="openDetails(task.id,$event)" ng-class="{done: task.completed}" oc-drag-task>
|
|
<div class="task-body">
|
|
<div class="percentdone" style="width:{{ task.complete }}%; background-color:{{ getTaskColor(task.calendarid) }};"></div>
|
|
<a class="task-checkbox handler" name="toggleCompleted" ng-click="toggleCompleted(task.id)">
|
|
<span class="icon task-checkbox" ng-class="{'task-checked': task.completed}"></span>
|
|
</a>
|
|
<a class="icon task-separator"></a>
|
|
<a class="task-star handler" ng-click="toggleStarred(task.id)">
|
|
<span class="icon task-star faded" ng-class="{'high':task.priority>5,'medium':task.priority==5,'low':task.priority > 0 && task.priority < 5}"></span>
|
|
</a>
|
|
<a class="duedate" ng-class="{overdue: TasksModel.overdue(task.due)}">{{ task.due | dateTaskList }}</a>
|
|
<a class="listname" >{{ getTaskList(task.calendarid) }}</a>
|
|
<div class="title-wrapper" ng-class="{attachment: task.note!=''}">
|
|
<span class="title">{{ task.name }}</span>
|
|
<span class="icon task-attachment"></span>
|
|
<span class="categories-list">
|
|
<ul>
|
|
<li ng-repeat="category in task.categories"><span>{{ category }}</span></li>
|
|
</ul>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div> |