mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
29 lines
No EOL
757 B
Text
29 lines
No EOL
757 B
Text
extends /templates/base
|
|
|
|
block content
|
|
#thang-tasks-view
|
|
input#nameSearch(placeholder='Filter: Thang Name')
|
|
br
|
|
input#descSearch(placeholder='Filter: Task Description')
|
|
hr
|
|
if view.processedThangs
|
|
table.table.table-striped#thangTable
|
|
tr
|
|
th Thang Name
|
|
th Task List
|
|
for thang in view.processedThangs
|
|
if view.hasIncompleteTasks(thang)
|
|
+thangRow(thang)
|
|
else
|
|
span No view.processedThangs
|
|
|
|
mixin thangRow(thang)
|
|
tr
|
|
td.taskOwner
|
|
a(href= 'thang/' + thang.get('slug'))= thang.get('name')
|
|
td.tasks
|
|
table.table-striped.table-hover.tasksTable
|
|
for task in (thang.tasks || [])
|
|
if !task.complete
|
|
tr
|
|
td= task.name |