mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-04 17:19:47 -04:00
Put back the portraits in the thang type search view.
This commit is contained in:
parent
2cf19a4781
commit
cc8bd156ec
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@ table.table
|
|||
|: #{documents.length}
|
||||
|
||||
tr
|
||||
th#portrait-col
|
||||
th(data-i18n="general.name") Name
|
||||
th(data-i18n="general.description") Description
|
||||
th(data-i18n="general.version") Version
|
||||
|
@ -14,6 +15,9 @@ table.table
|
|||
for data in documents
|
||||
- data = data.attributes;
|
||||
tr
|
||||
td
|
||||
- path = '/file/db/thang.type/'+data.original+'/portrait.png'
|
||||
img(title="Add " + data.name, src=path, alt="").portrait
|
||||
td
|
||||
a(href="/editor/thang/#{data.slug || data._id}")
|
||||
| #{data.name}
|
||||
|
|
Loading…
Add table
Reference in a new issue