##// END OF EJS Templates
added quiet flag into get_current_revision
added quiet flag into get_current_revision

File last commit:

r1472:aaec08ad beta
r1571:a9888895 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>
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong><br/>
Added api_key into user, api key get's generated again after password change...
r1116 ${_('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">
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>
<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">
<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">
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>