## 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', """Learn about individual milestone and its analytics""" ], [ 'Project homepage', """Home page can be constructed using wiki markup. To change home page content edit project's 'homepage' wiki document. """ ], [ '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.""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="milestone( m )"> <% status = (m.completed and 'Complete') or \ (m.cancelled and 'Cancelled') or 'Open' %>

${m.milestone_name} (${m.id})

Status :
${status}
Created On :
${m.created_on and m.created_on.strftime('%a, %b %d, %Y')}
Due On :
${m.due_date and m.due_date.strftime('%a, %b %d, %Y')}

Description

${m.descriptionhtml | n}
% if m.closing_remarkhtml :

Closing Remark

${m.closing_remarkhtml | n}
% endif
${charts.chart13( m.id, *c.mstnresolved )}
<%def name="bd_body()"> <% 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 ) charts = capture( elements.iconlink, h.url_projectcharts, 'barchart', title="Project analytics" ) tline = capture( elements.iconlink, h.url_projtimeline, 'timeline', title="Project timeline" ) %> ${elements.mainnav()} ${elements.contextnav( [ fav, searchbox, roadmap, mountpt, attachs, downlds, ], rspans=[ charts, tline ], tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif % if c.authorized : ${forms.form_projfav( c.authuser, c.project, h.suburl_projfav, c.project in c.authuser.favoriteprojects and \ 'delfavuser' or 'addfavuser' )} % endif
${milestone( c.milestone )}
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}