##// END OF EJS Templates
changed session to client side encrypted cookie, for better horizontal scalability of rhodecode
changed session to client side encrypted cookie, for better horizontal scalability of rhodecode

File last commit:

r1629:2196aa27 beta
r1710:79a06e68 beta
Show More
user_edit.html
161 lines | 5.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 ${_('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>
implements #293 gravatar link should be disabled when use_gravatar = false
r1629 <p>
%if c.use_gravatar:
<strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong>
<br/>${_('Using')} ${c.user.email}
%else:
<br/>${c.user.email}
%endif
Added api_key into user, api key get's generated again after password change...
r1116 </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">
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached...
r1366 ${h.password('new_password',class_='medium',autocomplete="off")}
renamed project to rhodecode
r547 </div>
</div>
implements #237 added password confirmation for my account and admin edit user.
r1597
<div class="field">
<div class="label">
<label for="password_confirmation">${_('New password confirmation')}:</label>
</div>
<div class="input">
${h.password('password_confirmation',class_="medium",autocomplete="off")}
</div>
</div>
renamed project to rhodecode
r547 <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">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${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">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label for="create_repo_perm">${_('Create repositories')}:</label>
Added api_key into user, api key get's generated again after password change...
r1116 </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">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${h.submit('save',_('Save'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
Added api_key into user, api key get's generated again after password change...
r1116 </div>
</div>
</div>
${h.end_form()}
extended user editing view with permissions (still a todo)
r889 </div>
Thayne Harbaugh
Improve LDAP authentication...
r991 </%def>