2014-03-12 11:03:36 -04:00
|
|
|
table.table
|
2014-08-28 13:50:20 -04:00
|
|
|
block tableResultsHeader
|
|
|
|
tr
|
|
|
|
th(colspan=3)
|
|
|
|
span(data-i18n="general.results")
|
|
|
|
| Results
|
|
|
|
span
|
|
|
|
|: #{documents.length}
|
2014-05-20 06:46:37 -04:00
|
|
|
|
|
|
|
block tableHeader
|
2014-03-12 11:03:36 -04:00
|
|
|
tr
|
2014-05-20 06:46:37 -04:00
|
|
|
th(data-i18n="general.name") Name
|
|
|
|
th(data-i18n="general.description") Description
|
|
|
|
th(data-i18n="general.version") Version
|
|
|
|
|
|
|
|
block tableBody
|
2014-08-28 13:50:20 -04:00
|
|
|
for document in documents
|
|
|
|
- var data = document.attributes;
|
|
|
|
tr(class=document.getOwner() == me.id ? 'mine' : '')
|
2015-09-26 19:38:53 -04:00
|
|
|
td(title=data.name).name-row
|
2014-05-20 06:46:37 -04:00
|
|
|
a(href="/editor/#{page}/#{data.slug || data._id}")
|
|
|
|
| #{data.name}
|
2015-09-26 19:38:53 -04:00
|
|
|
td(title=data.description).body-row
|
|
|
|
| #{data.description}
|
|
|
|
td #{data.version.major}.#{data.version.minor}
|