2014-01-03 13:32:13 -05:00
|
|
|
table.table
|
|
|
|
tr
|
2014-01-11 11:25:04 -05:00
|
|
|
th(colspan=3)
|
|
|
|
span(data-i18n="article.index_table_results")
|
|
|
|
| Results
|
|
|
|
span
|
|
|
|
|: #{documents.length}
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
tr
|
2014-01-11 11:25:04 -05:00
|
|
|
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}
|