codecombat/app/templates/editor/thang/table.jade

19 lines
440 B
Text
Raw Normal View History

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