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

21 lines
No EOL
572 B
Text

table.table
tr
th(colspan=3)
span(data-i18n="level.index_table_results")
| Results
span
|: #{documents.length}
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
for level in documents
- level = level.attributes;
tr
td
a(href="/editor/level/#{level.slug || level._id}")
| #{level.name}
td.body-row #{level.description}
td #{level.version.major}.#{level.version.minor}