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