## 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"/> <%namespace name="charts" file="/component/charts.html"/> <%! page_tooltips = [ [ 'Help', """Charts are plotted for """ ], [ 'Roadmap', """Use the Roadmap page to view project's progress and achievements. Milestones are grouped into catagories closed and opened, and chronologically sorted.
Background color coding : open milestones closed milestones cancelled milestones

Milestone-id is displayed along with the milestone name in paranthesis, use this where ever the milestone needs to be referenced. Report Card gives a visual segmentation of milestone tickets in terms of 'ticket-types', 'ticket-status', 'ticket-severity'. """ ], [ 'Mountpoints', """Repository directories can be mounted on-to site's url path, so that contents of its directory, including its sub-directory can be viewed as html pages""" ], [ 'Favorites', """Registered users can pick project(s) as their favorite, provided the user has 'PROJECT_VIEW' permission""" ], [ 'Downloads', """Downloable files for this project.""" ], [ 'Attachments', """Add summary and tags to project attachments.""" ], [ 'Tags', """Tag a project by clicking on the iconized title. Delete tags by clicking on the cross-wire. Tag names should be 2 or more characters. """ ], [ 'Timeline', """Timeline for project, shows all updates done in the context of a project except project-administrative logs, which is available under admin/timeline.""" ], ] chartoptions = [ 'chart14', 'chart15' ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Charts & Analytics" fav = capture( elements.favoriteicon, 'favproj' ) searchbox = capture( forms.form_searchbox, c.authuser, 'searchproject', 'Search-project', h.suburl_search, c.searchfaces ) attachs = '' + \ ( ' \ Attachments' % h.url_projattachs ) downlds = '' + \ ( ' \ Downloads' % h.url_projdownloads ) roadmap = '' + \ ( '\ Roadmap' % h.url_projroadmap ) mountpt = '' + \ ( ' \ Mountpoints' % h.url_projmounts ) tline = capture( elements.iconlink, h.url_projtimeline, 'timeline', title="Project timeline" ) %> ${elements.mainnav()} ${elements.contextnav( [ fav, searchbox, roadmap, mountpt, attachs, downlds ], rspans=[ tline ], tooltips=page_tooltips, )}
% if c.userpanes :
% else :
% endif % if c.authorized : ${forms.form_projfav( c.authuser, c.project, h.suburl_projfav, c.isfavorite and 'delfavuser' or 'addfavuser' )} % endif ${charts.selectcharts( chartoptions, 'chart14' )} ${charts.chart14( c.chart14_data )} ${charts.chart15( c.chart15_data, c.chart15_frmdt )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}