## -*- coding: utf-8 -*-
<%inherit file="../casemanagement/main.mako" />
<%def name="buildNavipath()">
${parent.buildNavipath()}
${_('Selected case documents')}
${_('Documents overview')}
%def>
<%! import mpulsweb.lib.helper.filters as F %>
% if len(c.files) > 0:
<%
kb = lambda x: h.format_number(x * 1.0/1024.0)
%>
% for num, f in enumerate(c.files):
${ f.getName() | F.shorten} |
${kb(f.size)} KB |
% if h.hasRole(['cm_ka']) and session.get('case').getState().getState() == 1:
% endif
|
% endfor
% else:
${_('No files found')}
|
% endif