## 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"/> <%! page_tooltips = [ [ 'Help', """List of projects hosted under this site. To quickly go to a project that you belong to, use projects drop down menu in meta-nav. Access to each of these projects are controlled by project's administrator.
Use ... to expand text. """ ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="highlightprojects( projects )">
    % for p in sorted( projects, key=lambda p : p.projectname ) : <% desc = p.project_info.descriptionhtml %>
  1. ${p.projectname} - (${p.summary}) Administered by ${p.admin.username}
    ${desc | n}
  2. % endfor
<%def name="bd_body()"> <% pagebartext = "Project list" %> ${elements.pagebar( pagebartext, tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
${highlightprojects( c.projects )}
% else :
${highlightprojects( c.projects )}
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}