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;
|
2015-09-03 11:33:48 -04:00
|
|
|
- if(data.slug == 'ace-of-coders' && new Date() < new Date(1441863900000))
|
2015-09-02 08:32:45 -04:00
|
|
|
- continue;
|
2014-08-28 13:50:20 -04:00
|
|
|
tr(class=document.getOwner() == me.id ? 'mine' : '')
|
2014-05-20 06:46:37 -04:00
|
|
|
td
|
|
|
|
a(href="/editor/#{page}/#{data.slug || data._id}")
|
|
|
|
| #{data.name}
|
|
|
|
td.body-row #{data.description}
|
|
|
|
td #{data.version.major}.#{data.version.minor}
|