codecombat/app/templates/editor/level/table.jade

21 lines
572 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
table.table
tr
th(colspan=3)
span(data-i18n="level.index_table_results")
| Results
span
|: #{documents.length}
2014-01-03 13:32:13 -05:00
tr
th(data-i18n="level.index_table_name") Name
th(data-i18n="level.index_table_description") Description
th(data-i18n="level.index_table_version") Version
2014-01-03 13:32:13 -05:00
for level in documents
2014-01-06 15:37:35 -05:00
- level = level.attributes;
2014-01-03 13:32:13 -05:00
tr
td
a(href="/editor/level/#{level.slug || level._id}")
| #{level.name}
td.body-row #{level.description}
td #{level.version.major}.#{level.version.minor}