##// END OF EJS Templates
merged beta into stable
merged beta into stable

File last commit:

r2031:82a88013 merge default
r2257:a437a986 merge default
Show More
user_edit.html
161 lines | 5.1 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()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Users'),h.url('users'))}
renamed project to rhodecode
r547 &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">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </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}
White-space cleanup
r1888 %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>
White-space cleanup
r1888
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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
Thayne Harbaugh
Improve LDAP authentication...
r991 <label for="ldap_dn">${_('LDAP DN')}:</label>
</div>
<div class="input">
marked ldap_dn in user edit form as readonly ref #292
r1906 ${h.text('ldap_dn',class_='medium disabled',readonly="readonly")}
Thayne Harbaugh
Improve LDAP authentication...
r991 </div>
</div>
White-space cleanup
r1888
Thayne Harbaugh
Improve LDAP authentication...
r991 <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>
White-space cleanup
r1888
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>
White-space cleanup
r1888
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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('active',value=True)}
</div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label label-checkbox">
<label for="admin">${_('Admin')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('admin',value=True)}
</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('save',_('Save'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
White-space cleanup
r1888 </div>
</div>
renamed project to rhodecode
r547 </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">
White-space cleanup
r1888 <h5>${_('Permissions')}</h5>
extended user editing view with permissions (still a todo)
r889 </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")}
White-space cleanup
r1888 </div>
</div>
Added api_key into user, api key get's generated again after password change...
r1116 </div>
White-space cleanup
r1888 ${h.end_form()}
extended user editing view with permissions (still a todo)
r889 </div>
Thayne Harbaugh
Improve LDAP authentication...
r991 </%def>