## 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', """Mount one or more repository directory onto zeta site.""" ], ] %> <%def name="hd_links()"> ${parent.hd_links()} <%def name="hd_styles()"> ${parent.hd_styles()} <%def name="hd_script()"> ${parent.hd_script()} <%def name="create_mount()">
${forms.form_createmount( c.authuser, c.vcslist, c.contents, h.suburl_createmount )}
<%def name="mountpoints( p, pmounts )">
Name
Content type
Repository
Relative Path
Created on
% for m in pmounts : <% relpath = m[3] %>
${m[2]}
${m[3]}
${m[4].strftime('%a, %b %d, %Y')}
% endfor
${forms.form_deletemount( c.authuser, h.suburl_deletemount )} <%def name="bd_body()"> <% title = 'Mount points' %> ${elements.mainnav()} ${elements.contextnav([ title ], tooltips=page_tooltips)}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif % if c.changeid : ${forms.form_updatemount( c.authuser, c.mnt, c.vcslist, c.contents, h.suburl_updatemount )} % else :

Create mount point

${create_mount()}

List of mount points

${mountpoints( c.projectname, c.pmounts )}
% endif
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}