## 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 summary and tags to review attachments.""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% searchbox = capture( forms.form_searchbox, c.authuser, 'searchproject', 'Search-project', h.suburl_search, c.searchfaces ) addattachs = '' + \ ( ' \ Add' % h.url_addattachment ) charts = capture( elements.iconlink, h.url_revwcharts, 'barchart', title="Review analytics" ) tline = capture( elements.iconlink, h.url_revwtimeline, 'timeline', title="Timeline" ) %> ${elements.mainnav()} ${elements.contextnav( [ searchbox, addattachs ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
${elements.attachments( c.authuser, c.attachments, c.editable )} ${forms.form_attachssummary( c.authuser, h.suburl_attachssummary )} ${forms.form_attachstags( c.authuser, h.suburl_attachstags )}
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}