## -*- 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_ka']):
    % endif
    <% idset = 0 %> % if len(c.files) > 0: <% kb = lambda x: h.format_number(x * 1.0/1024.0) %> % for f in c.files: % if idset==0: <% idset = 1 %> % else: <% idset = 0 %> % endif % endfor % else: % endif
    ${_('Filename')} ${_('Filesize')} ${_('Actions')}
    ${ f.getName() | F.shorten} ${kb(f.size)} KB ${_('Show')} % if h.hasRole(['admin_ka']): ${_('Delete')} % endif
    ${ f.getName() | F.shorten} ${kb(f.size)} KB ${_('Show')} % if h.hasRole(['admin_ka']): ${_('Delete')} % endif
    ${_('No files found')}