## 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', """Review - documents, code and wiki pages. Every review created, has an author, a moderator and participants. """ ], [ 'Author', """Author can add comments, comment's nature and also reponsible for taking actions on all review comments.""" ], [ 'Moderator', """Moderator can add comments, comment's nature and is responsible for approving actions taken on review comments. Once all the comments are approve, the moderator can close the review.""" ], [ 'Participant', """Participants can comment and reply to other paticipants comment.""" ], [ 'Review-set', """Collection of reviews. Especially useful to create review entries for every modified / added file in repository changeset """ ], [ 'Timeline', """Timeline of all updates done to Review(s).""" ], ] %> <%def name="hd_links()"> ${parent.hd_links()} <%def name="hd_script()"> ${parent.hd_script()} <%def name="create_review()">
${forms.form_createrev( c.authuser, c.project, c.rsets, h.suburl_createrev, c.projusers, c.usernames, c.forsrc, c.forversion )}
${forms.form_createrset( c.authuser, c.project, h.suburl_createrset, request.url )}
<%def name="bd_body()"> <% sel_revw = capture( forms.form_selectrevw, c.authuser, c.revwlist, c.review and c.review.resource_url or '' ) sel_rset = capture( forms.form_selectrset, c.authuser, c.rsetlist, c.reviewset and c.reviewset.name or '' ) revwsets = ' \ \ Reviewsets' % h.url_reviewsets 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( [ sel_revw, sel_rset, revwsets, ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
${create_review()}
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}