17 lines
894 B
Plaintext
17 lines
894 B
Plaintext
script(id='templates/task.html', type="text/ng-template")
|
|
li(id='task-{{::task._id}}',
|
|
ng-repeat='task in getTaskList(list, taskList, obj) | filterByTaskInfo: obj.filterQuery | conditionalOrderBy: list.view=="dated":"date"',
|
|
class='task {{getClasses(task, user, list, main)}}',
|
|
ng-class='{"cast-target":spell && (list.type != "reward"), "locked-task":obj._locked === true}',
|
|
ng-click='spell && (list.type != "reward") && castEnd(task, "task", $event)',
|
|
ng-show='!shouldShow || shouldShow(task, list, user.preferences)',
|
|
popover-trigger='mouseenter', popover-placement="top", popover-append-to-body='{{::modal ? "false":"true"}}',
|
|
data-popover-html="{{taskPopover(task) | markdown}}"
|
|
)
|
|
ng-form(name='taskForm')
|
|
include ./meta_controls
|
|
|
|
include ./task_view/index
|
|
|
|
div(class='{{obj._id}}{{task._id}}-chart', ng-show='charts[obj._id+task._id]')
|