## -*- coding: utf-8 -*- <%inherit file="../main.mako" /> <%! import mpulsweb.lib.helper.filters as F %> <%def name="buildNavipath()"> ${parent.buildNavipath()}
  • ${_('Document overview')}
  • ${_('Document overview')}
    % if h.hasRole(['admin']):
    % endif
    <% idset = 0 %> % if len(c.files) > 0: <% kb = lambda x: h.format_number(x * 1.0/1024.0) %> % for num, f in enumerate(c.files): % endfor % else: % endif
    ${_('Filename')} ${_('Filesize')} ${_('Actions')}
    ${ F.shorten(f.getName(),60) } % if g.mpuls_config.is_enabled("module", "documents-description"):
    ${f.description}
    % endif
    ${kb(f.size)} KB ${_('Show')} % if h.hasRole(['admin']): ${_('Rename')} ${_('Delete')} % endif
    ${_('No files found')}