Welcome to mirror list, hosted at ThFree Co, Russian Federation.

part.collectionall.php « templates - github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3062c17f93db3fa296cc28f5807901e0057688e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- <div ng-switch-when="starred || completed || all || today || current"> -->
<div ng-if="route.collectionID == 'starred' || route.collectionID == 'completed' || route.collectionID == 'all' || route.collectionID == 'today' || route.collectionID == 'current'">
    <div ng-repeat="calendar in calendars | filter:filterLists()" class="grouped-tasks ui-droppable" rel="{{ calendar.uri }}">
        <h2 class="heading">
            <text>{{ calendar.displayname }}</text>
        </h2>
        <ol class="tasks"
            calendarID="{{calendar.uri}}"
            collectionID="{{route.collectionID}}"
            type="list"
            dnd-list="draggedTasks"
            dnd-drop="dropAsRootTask(event, item, index)"
            dnd-dragover="dragover(event, index)">
            <li class="task-item ui-draggable handler"
                taskID="{{task.uri}}"
                ng-animate="'animate'"
                ng-repeat="task in filtered = filteredTasks() | filter:hasNoParent(task) | filter:filterTasks(task,calendar.uri) | filter:filterTasks(task,route.collectionID) | orderBy:getSortOrder():settingsmodel.getById('various').sortDirection"
                ng-click="openDetails(task.uri,$event)"
                ng-class="{done: task.completed}"
                dnd-draggable="task"
                dnd-dragstart="dragStart(event)"
                dnd-dragend="dragEnd(event)"
                dnd-effect-allowed="{{ allow(task) }}">
                <?php print_unescaped($this->inc('part.taskbody')); ?>
            </li>
        </ol>
        <div class="loadmore handler" ng-hide="loadedCompleted(calendar.uri) || route.collectionID != 'completed'">
            <span ng-click="getCompletedTasks(calendar.uri)"> <?php p($l->t('Load remaining completed tasks.')); ?> </span>
        </div>
    </div>
</div>