## 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"/> <%namespace name="forms" file="/component/forms.html"/> <%! page_tooltips = [ [ 'Help', """Add a new attachment that are not associated with any thing""" ], [ '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 """ ], [ 'Timeline', """Log of updates done to all attachments.""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Add Attachments" attachs = '
' +\ 'Attachments
' % h.url_attachments tline = capture( elements.iconlink, h.url_attachtline, 'timeline', title="Attachment Timeline" ) charts = capture( elements.iconlink, h.url_attachcharts, 'barchart', title="Analytics on file attachments" ) %> ${elements.pagebar( pagebartext, [ attachs, ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.userpanes :
% else :
% endif
${forms.form_addattachs( c.authuser, h.suburl_addattachs )}
${elements.helpboard(""" Add attachment that is not associated with license, project, ticket, wiki etc ...

Primarily useful for adding attachments and linking / referring them else where. """)}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}