##// END OF EJS Templates
closed branch celery
closed branch celery

File last commit:

r477:fdebc5f6 celery
r563:bf65d9ec celery
Show More
permissions.html
68 lines | 2.1 KiB | text/html | HtmlLexer
Admin templating updates, added rest permission controllers
r230 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Permissions administration')}
</%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
Added permissions template
r384 ${_('Permissions')}
Admin templating updates, added rest permission controllers
r230 </%def>
Added permissions template
r384
Admin templating updates, added rest permission controllers
r230 <%def name="page_nav()">
${self.menu('admin')}
</%def>
Added permissions template
r384
Admin templating updates, added rest permission controllers
r230 <%def name="main()">
version bump to 0.8...
r362 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
Admin templating updates, added rest permission controllers
r230 </div>
permission refactoring,...
r417 <h3>${_('Default permissions')}</h3>
${h.form(url('permission', id='default'),method='put')}
Added permissions template
r384 <div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
Some gui fixes
r477 <label for="default_perm">${_('Repository permission')}:</label>
Added permissions template
r384 </div>
<div class="select">
permission refactoring,...
r417 ${h.select('default_perm','',c.perms_choices)}
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository...
r418
${h.checkbox('overwrite_default','true')}
<label for="overwrite_default">
<span class="tooltip"
tooltip_title="${h.tooltip(_('All default permissions on each repository will be reset to choosen permission, note that all custom default permission on repositories will be lost'))}">
${_('overwrite existing settings')}</span> </label>
</div>
permission refactoring,...
r417 </div>
<div class="field">
<div class="label">
<label for="default_register">${_('Registration')}:</label>
</div>
<div class="select">
${h.select('default_register','',c.register_choices)}
Added permissions template
r384 </div>
permission refactoring,...
r417 </div>
<div class="field">
<div class="label">
Some gui fixes
r477 <label for="default_create">${_('Repository creation')}:</label>
permission refactoring,...
r417 </div>
<div class="select">
${h.select('default_create','',c.create_choices)}
</div>
</div>
Added permissions template
r384 <div class="buttons">
${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")}
permission refactoring,...
r417 </div>
Added permissions template
r384 </div>
</div>
${h.end_form()}
version bump to 0.8...
r362 </div>
Admin templating updates, added rest permission controllers
r230 </%def>