codecombat/app/templates/editor/thang/table.jade
2014-01-06 12:37:35 -08:00

19 lines
No EOL
440 B
Text

table.table
tr
th(colspan=3) #{documents.length} results
tr
th#portrait-col
th Name
th Version
for thang in documents
- thang = thang.attributes;
- path = '/file/db/thang.type/'+thang.original+'/portrait.png'
tr
td
img(src=path).portrait
td
a(href="/editor/thang/#{thang.slug || thang._id}")
| #{thang.name}
td #{thang.version.major}.#{thang.version.minor}