## 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', """Only project administrator can access this page. Use this page to, configure project, add/modify/remove project milestones, components and versions. Setup project teams and team-permissions. """ ], [ 'Project', """Upload project logo and icon which will be used where ever relevant. One such case is the header element in the layout, where the project logo is displayed on top-right corner of the page. Tickets, wiki pages, version controls, reviews are always associated with a project. """ ], [ 'Components', """Divide project into components, assigining owner to each one of them. Tickets can be associated with a component. """ ], [ 'Milestones', """Create and describe milestones with due-date. Milestones can be closed by 'cancelling' or 'completing' it and providing a closing remark. Tickets can be associated with project milestone. """ ], [ 'Versions', """Versions can be used to track release, both internal and external. Tickets can be associated with project version. """ ], [ 'Teams', """Team names are common to all projects. Project's administrator can assign user as part of one or more team, one can view team as a role the user is expected to play in the project.
Project-wise permission are managed via teams. Registered users who are not associated with a project (i.e) who are not part of a project's team will be classified as 'non-members' (a special team created by default). Thus the administrator can manage the permissions to these users via 'non-members'. Know more about permission system """ ], [ 'Timeline', """Timeline of project's administrative activities.""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% ctxt_title = "'%s' - Administration" % c.project.projectname fav = capture( elements.favoriteicon, 'favproj' ) tline = capture( elements.iconlink, h.url_projadmtimeline, 'timeline', title="Timeline" ) ctxt_spans = [ fav, '%s' % ctxt_title, ] rspans = [ tline ] %> ${elements.mainnav()} ${elements.contextnav( ctxt_spans, tooltips=page_tooltips, rspans=rspans )}
% if c.userpanes :
% else :
% endif ${forms.form_projfav( c.authuser, c.project, h.suburl_projfav, c.isfavorite and 'delfavuser' or 'addfavuser' )}
${forms.form_projectinfo( c.authuser, c.project, c.licensenames, c.usernames, h.url_license, h.suburl_projectinfo )}
New component :
${forms.form_createpcomp( c.authuser, c.project, c.projusers, h.suburl_createpcomp )}

Update component :
${forms.form_updatepcomp( c.authuser, c.project, c.projusers, c.pcomplist, h.suburl_updatepcomp )}

Remove components :
${forms.form_rmpcomp( c.authuser, c.project, h.suburl_rmpcomp )}
New milestone :
${forms.form_createmstn( c.authuser, c.project, h.suburl_createmstn )}

Update milestone :
${forms.form_updatemstn( c.authuser, c.project, c.mstnlist, h.suburl_updatemstn )}

Remove milestone :
${forms.form_rmmstn( c.authuser, c.project, h.suburl_rmmstn )}
New version :
${forms.form_createver( c.authuser, c.project, h.suburl_createver )}

Update version :
${forms.form_updatever( c.authuser, c.project, c.verlist, h.suburl_updatever )}

Remove versions :
${forms.form_rmver( c.authuser, c.project, h.suburl_rmver )}
Add users to team :
${forms.form_addprjteam( c.authuser, c.project, c.teamtypes, c.defteamtype, c.x_teamusers, h.suburl_addprjteam )}

Remove users from team :
${forms.form_delprjteam( c.authuser, c.project, c.teamtypes, c.defteamtype, c.teamusers, h.suburl_delprjteam )}
Add permissions to team :
${forms.form_addteamperms( c.authuser, c.project, c.teamtypes_p, c.defteamtype, c.x_teampgroups, h.suburl_addteamperms )}

Remove permissions from team :
${forms.form_delteamperms( c.authuser, c.project, c.teamtypes_p, c.defteamtype, c.teampgroups, h.suburl_delteamperms )}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}