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

21 lines
No EOL
578 B
Text

table.table
tr
th(colspan=3)
span(data-i18n="article.index_table_results")
| Results
span
|: #{documents.length}
tr
th(data-i18n="article.index_table_name") Name
th(data-i18n="article.index_table_body") Body
th(data-i18n="article.index_table_version") Version
for article in documents
- article = article.attributes;
tr
td
a(href="/editor/article/#{article.slug || article._id}")
| #{article.name}
td.body-row #{article.body}
td #{article.version.major}.#{article.version.minor}