##// END OF EJS Templates
Added session wrapper, for rc 1.2.X compatibility. Adds backwards compatability...
Added session wrapper, for rc 1.2.X compatibility. Adds backwards compatability for older RhodeCode sessions, created before 1.3 series.

File last commit:

r1961:f48bce87 beta
r2030:61f9aeb2 beta
Show More
user_edit_my_account.html
190 lines | 6.9 KiB | text/html | HtmlLexer
/ rhodecode / templates / admin / users / user_edit_my_account.html
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('My account')} ${c.rhodecode_user.username} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${_('My Account')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box box-left">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
css optimizations
r888 <div>
renamed project to rhodecode
r547 ${h.form(url('admin_settings_my_account_update'),method='put')}
<div class="form">
White-space cleanup
r1888
Added fork name to journal...
r718 <div class="field">
<div class="gravatar_box">
<div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div>
<p>
implements #293 gravatar link should be disabled when use_gravatar = false
r1629 %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 fork name to journal...
r718 </p>
</div>
White-space cleanup
r1888 </div>
Added api_key into user, api key get's generated again after password change...
r1116 <div class="field">
<div class="label">
<label>${_('API key')}</label> ${c.user.api_key}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${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">
<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">
Code refactor for auth func, preparing for ldap support...
r699 ${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">
Code refactor for auth func, preparing for ldap support...
r699 ${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">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('email',class_="medium")}
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
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>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547
<div class="box box-right">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 <h5>
<input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
ui fixes
r1650 ${_('My repositories')}
added add repository to my view
r766 </h5>
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
<ul class="links">
<li>
<span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
White-space cleanup
r1888 </li>
</ul>
%endif
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
<div class="table">
<table>
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 <thead>
<tr>
<th class="left">${_('Name')}</th>
<th class="left">${_('revision')}</th>
White-space cleanup
r1888 <th colspan="2" class="left">${_('action')}</th>
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 </thead>
renamed project to rhodecode
r547 <tbody>
%if c.user_repos:
%for repo in c.user_repos:
<tr>
<td>
code cleanup
r1961 %if h.is_hg(repo['dbrepo']['repo_type']):
fixed inline comment indicator....
r1701 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/>
code cleanup
r1961 %elif h.is_git(repo['dbrepo']['repo_type']):
fixed inline comment indicator....
r1701 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/>
Added quickfilter into my account....
r647 %else:
White-space cleanup
r1888
%endif
another major codes rewrite:...
r1045 %if repo['dbrepo']['private']:
fixed inline comment indicator....
r1701 <img class="icon" alt="${_('private')}" src="${h.url('/images/icons/lock.png')}"/>
renamed project to rhodecode
r547 %else:
fixed inline comment indicator....
r1701 <img class="icon" alt="${_('public')}" src="${h.url('/images/icons/lock_open.png')}"/>
renamed project to rhodecode
r547 %endif
White-space cleanup
r1888
changes for #56
r1171 ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
another major codes rewrite:...
r1045 %if repo['dbrepo_fork']:
<a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
renamed project to rhodecode
r547 <img class="icon" alt="${_('public')}"
White-space cleanup
r1888 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}"
#244 fixed my account page...
r1469 src="${h.url('/images/icons/arrow_divide.png')}"/></a>
White-space cleanup
r1888 %endif
</td>
#244 fixed my account page...
r1469 <td><span class="tooltip" title="${repo['last_change']}">${("r%s:%s") % (repo['rev'],h.short_id(repo['tip']))}</span></td>
<td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url('/images/icons/application_form_edit.png')}"/></a></td>
renamed project to rhodecode
r547 <td>
changes for #56
r1171 ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')}
more verbose removal messages
r1827 ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")}
White-space cleanup
r1888 ${h.end_form()}
renamed project to rhodecode
r547 </td>
</tr>
%endfor
%else:
implements #237 added password confirmation for my account and admin edit user.
r1597 <div style="padding:5px 0px 10px 0px;">
White-space cleanup
r1888 ${_('No repositories yet')}
renamed project to rhodecode
r547 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
UI !
r1756 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")}
renamed project to rhodecode
r547 %endif
implements #237 added password confirmation for my account and admin edit user.
r1597 </div>
renamed project to rhodecode
r547 %endif
</tbody>
</table>
</div>
</div>
one generic qfilter function.
r1653 <script type="text/javascript">
var nodes = YUQ('div.table tr td a.repo_name');
var target = 'q_filter';
var func = function(node){
return node.parentNode.parentNode;
}
q_filter(target,nodes,func);
</script>
White-space cleanup
r1888 </%def>