##// END OF EJS Templates
user defined permission will update the global permissions, and overwrite default settings.
user defined permission will update the global permissions, and overwrite default settings.

File last commit:

r1266:a1bcfe58 beta
r1267:d534aff5 beta
Show More
user_edit.html
149 lines | 4.8 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 ${_('Edit user')} ${c.user.username} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Users'),h.url('users'))}
&raquo;
${_('edit')} "${c.user.username}"
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
extended user editing view with permissions (still a todo)
r889 <div class="box box-left">
renamed project to rhodecode
r547 <!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
Fixed #161 form saves the create repository permission....
r1266 ${h.form(url('update_user', id=c.user.user_id),method='put')}
renamed project to rhodecode
r547 <div class="form">
Added api_key into user, api key get's generated again after password change...
r1116 <div class="field">
<div class="gravatar_box">
<div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div>
<p>
<strong>Change your avatar at <a href="http://gravatar.com">gravatar.com</a></strong><br/>
${_('Using')} ${c.user.email}
</p>
</div>
</div>
<div class="field">
<div class="label">
<label>${_('API key')}</label> ${c.user.api_key}
</div>
</div>
renamed project to rhodecode
r547 <div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
extended user editing view with permissions (still a todo)
r889 ${h.text('username',class_='medium')}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
Thayne Harbaugh
Improve LDAP authentication...
r991 <label for="ldap_dn">${_('LDAP DN')}:</label>
</div>
<div class="input">
Added api_key into user, api key get's generated again after password change...
r1116 ${h.text('ldap_dn',class_='medium')}
Thayne Harbaugh
Improve LDAP authentication...
r991 </div>
</div>
<div class="field">
<div class="label">
renamed project to rhodecode
r547 <label for="new_password">${_('New password')}:</label>
</div>
<div class="input">
extended user editing view with permissions (still a todo)
r889 ${h.password('new_password',class_='medium')}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
fixes for #66 renamed name to First Name
r697 <label for="name">${_('First Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
extended user editing view with permissions (still a todo)
r889 ${h.text('name',class_='medium')}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
fixes for #66 renamed name to First Name
r697 <label for="lastname">${_('Last Name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
extended user editing view with permissions (still a todo)
r889 ${h.text('lastname',class_='medium')}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
extended user editing view with permissions (still a todo)
r889 ${h.text('email',class_='medium')}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('active',value=True)}
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="admin">${_('Admin')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('admin',value=True)}
</div>
</div>
<div class="buttons">
css optimizations
r888 ${h.submit('save','Save',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
extended user editing view with permissions (still a todo)
r889 </div>
<div class="box box-right">
<!-- box / title -->
<div class="title">
<h5>${_('Permissions')}</h5>
</div>
Fixed #161 form saves the create repository permission....
r1266 ${h.form(url('user_perm', id=c.user.user_id),method='put')}
Added api_key into user, api key get's generated again after password change...
r1116 <div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label for="">${_('Create repositories')}:</label>
</div>
<div class="checkboxes">
Fixed #161 form saves the create repository permission....
r1266 ${h.checkbox('create_repo_perm',value=True)}
Added api_key into user, api key get's generated again after password change...
r1116 </div>
</div>
<div class="buttons">
${h.submit('save','Save',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
</div>
</div>
</div>
${h.end_form()}
extended user editing view with permissions (still a todo)
r889 </div>
Thayne Harbaugh
Improve LDAP authentication...
r991 </%def>