## 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 = [ [ 'Attachments', """List of attached files to site-license. If you have access, you can change summary and tags to these attachments""" ], [ 'Add-attachment', """Add a new attachment to the site.""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "License Attachments" addattachs = '
' +\ 'Add
' % h.url_addattachment charts = capture( elements.iconlink, h.url_licensecharts, 'barchart', title="Analytics on license" ) tline = capture( elements.iconlink, h.url_lictimeline, 'timeline', title="License Timeline" ) %> ${elements.pagebar( pagebartext, [ addattachs ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.userpanes :
% else :
% endif
${elements.attachments( c.authuser, c.attachments, c.editable )} % if c.editable : ${forms.form_attachssummary( c.authuser, h.suburl_attachssummary )} ${forms.form_attachstags( c.authuser, h.suburl_attachstags )} % endif
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}