table.table
  tr
    th(colspan=3)
      span(data-i18n="general.results")
        | Results
      span
        |: #{documents.length}
  
  tr
    th(data-i18n="general.name") Name
    th(data-i18n="general.description") Description
    th(data-i18n="general.version") Version
  
  for data in documents 
    - data = data.attributes;
    tr
      td
        a(href="/editor/thang/#{data.slug || data._id}")
          | #{data.name}
      td.body-row #{data.description}
      td #{data.version.major}.#{data.version.minor}
table.table
  tr
    th(colspan=3)
      span(data-i18n="general.results")
        | Results
      span
        |: #{documents.length}
  
  tr
    th#portrait-col
    th(data-i18n="general.name") Name
    th(data-i18n="general.description") Description
    th(data-i18n="general.version") Version
  
  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}
      td.body-row #{data.description}
      td #{data.version.major}.#{data.version.minor}
Put back the portraits in the thang type search view.
Put back the portraits in the thang type search view.
