2014-08-28 13:50:20 -04:00
|
|
|
extends /templates/kinds/table
|
|
|
|
|
|
|
|
block tableResultsHeader
|
2014-03-12 11:03:36 -04:00
|
|
|
tr
|
2014-08-28 13:50:20 -04:00
|
|
|
th(colspan=4)
|
2014-03-12 11:03:36 -04:00
|
|
|
span(data-i18n="general.results")
|
|
|
|
| Results
|
|
|
|
span
|
|
|
|
|: #{documents.length}
|
|
|
|
|
2014-08-28 13:50:20 -04:00
|
|
|
block tableHeader
|
2014-03-12 11:03:36 -04:00
|
|
|
tr
|
|
|
|
th#portrait-col
|
|
|
|
th(data-i18n="general.name") Name
|
|
|
|
th(data-i18n="general.description") Description
|
|
|
|
th(data-i18n="general.version") Version
|
|
|
|
|
2014-08-28 13:50:20 -04:00
|
|
|
block tableBody
|
2014-08-18 18:25:22 -04:00
|
|
|
for thang in documents
|
2014-03-12 11:03:36 -04:00
|
|
|
tr
|
|
|
|
td
|
2014-08-18 18:25:22 -04:00
|
|
|
img(title="Add " + thang.get('name'), src=thang.getPortraitURL(), alt="").portrait
|
2014-03-12 11:03:36 -04:00
|
|
|
td
|
2014-08-18 18:25:22 -04:00
|
|
|
a(href="/editor/thang/#{thang.get('slug') || thang.id}")
|
|
|
|
| #{thang.get('name')}
|
|
|
|
td.body-row #{thang.get('description')}
|
|
|
|
- var version = thang.get('version')
|
|
|
|
td #{version.major}.#{version.minor}
|