2016-04-04 14:03:07 -04:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
|
|
|
#level-tasks-view
|
|
|
|
div
|
|
|
|
a(href='./')
|
|
|
|
| < Artisans Home
|
|
|
|
input#nameSearch(placeholder='Filter: Level Name')
|
|
|
|
br
|
|
|
|
input#descSearch(placeholder='Filter: Task Description')
|
|
|
|
hr
|
|
|
|
if view.processedLevels
|
|
|
|
table.table.table-striped#levelTable
|
|
|
|
tr
|
|
|
|
th Level Name
|
|
|
|
th Task List
|
|
|
|
for level in view.processedLevels
|
|
|
|
if view.hasIncompleteTasks(level)
|
|
|
|
+levelRow(level)
|
|
|
|
else
|
|
|
|
div ole?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mixin levelRow(level)
|
|
|
|
tr
|
|
|
|
td.taskOwner
|
|
|
|
a(href= 'level/' + level.slug)= level.name
|
|
|
|
td.tasks
|
2016-05-10 17:34:17 -04:00
|
|
|
table.table-condensed.table-striped.table-hover.tasksTable
|
2016-04-04 14:03:07 -04:00
|
|
|
for task in (level.tasks2 || [])
|
|
|
|
if !task.complete
|
|
|
|
tr
|
|
|
|
td= task.name
|