##// END OF EJS Templates
API: update_user returns new updated user data
API: update_user returns new updated user data

File last commit:

r2031:82a88013 merge default
r2507:374693af beta
Show More
permissions.html
77 lines | 2.3 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Permissions administration')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
renamed project to rhodecode
r547 &raquo;
White-space cleanup
r1888 ${_('Permissions')}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
<h3>${_('Default permissions')}</h3>
${h.form(url('permission', id='default'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
#49 Enabled anonymous access for web interface controllable from permissions pannel
r673 <div class="field">
<div class="label label-checkbox">
<label for="anonymous">${_('Anonymous access')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('anonymous',True)}
</div>
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
templates for ldap settings
r706 <div class="label label-select">
renamed project to rhodecode
r547 <label for="default_perm">${_('Repository permission')}:</label>
</div>
<div class="select">
${h.select('default_perm','',c.perms_choices)}
White-space cleanup
r1888
renamed project to rhodecode
r547 ${h.checkbox('overwrite_default','true')}
<label for="overwrite_default">
White-space cleanup
r1888 <span class="tooltip"
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 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'))}">
renamed project to rhodecode
r547 ${_('overwrite existing settings')}</span> </label>
White-space cleanup
r1888 </div>
</div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="default_register">${_('Registration')}:</label>
</div>
<div class="select">
${h.select('default_register','',c.register_choices)}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="default_create">${_('Repository creation')}:</label>
</div>
<div class="select">
${h.select('default_create','',c.create_choices)}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="buttons">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${h.submit('set',_('set'),class_="ui-button")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
</div>
White-space cleanup
r1888 </%def>