## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%! page_tooltips = [ [ 'Help', """Log of updates done to all attachments.""" ], [ 'Attachments', """List of attachments (files) stored in this site. If you have the permission you can edit summary and tag fields""" ], [ 'Charts', """Charts are plotted for """ ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Attachment Timeline" attachs = '
' +\ 'Attachments
' % h.url_attachments addattachs = '
' +\ 'Add
' % h.url_addattachment charts = capture( elements.iconlink, h.url_attachcharts, 'barchart', title="Analytics on file attachments" ) %> ${elements.pagebar( pagebartext, [ attachs, addattachs, ], rspans=[ charts ], tooltips=page_tooltips )}
% if c.userpanes :
% else :
% endif ${elements.timeline_view( c.logs, c.fromoff, c.tooff, c.links )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}