mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
17 lines
901 B
Text
17 lines
901 B
Text
li(id='task-{{::task.id}}',
|
|
ng-repeat='task in obj[list.type+"s"] | filterByTextAndNotes: obj.filterQuery | conditionalOrderBy: list.view=="dated":"date"',
|
|
class='task {{Shared.taskClasses(task, user.filters, user.preferences.dayStart, user.lastCron, list.showCompleted, 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(task, list, user.preferences)',
|
|
popover-trigger='mouseenter', popover-placement="top", popover-append-to-body='{{::modal ? "false":"true"}}',
|
|
data-popover-html="{{task.popoverOpen ? '' : task.notes | markdown}}")
|
|
|
|
ng-form(name='taskForm')
|
|
include ./meta_controls
|
|
|
|
include ./task_view/index
|
|
|
|
include ./edit/index
|
|
|
|
div(class='{{obj._id}}{{task.id}}-chart', ng-show='charts[obj._id+task.id]')
|