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

21 lines
578 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
table.table
tr
th(colspan=3)
span(data-i18n="article.index_table_results")
| Results
span
|: #{documents.length}
2014-01-03 13:32:13 -05:00
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
2014-01-03 13:32:13 -05:00
for article in documents
2014-01-06 15:37:35 -05:00
- article = article.attributes;
2014-01-03 13:32:13 -05:00
tr
td
a(href="/editor/article/#{article.slug || article._id}")
| #{article.name}
td.body-row #{article.body}
td #{article.version.major}.#{article.version.minor}