@@ -13,98 +13,98 @@
${_('edit')} "${c.user.username}"
</%def>
<%def name="page_nav()">
${self.menu('admin')}
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
${h.form(url('user', id=c.user.user_id),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<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 class="label">
<label for="username">${_('Username')}:</label>
<div class="input">
${h.text('username',class_='small')}
<label for="new_password">${_('New password')}:</label>
${h.password('new_password',class_='small')}
<label for="name">${_('Name')}:</label>
<label for="name">${_('First Name')}:</label>
${h.text('name',class_='small')}
<label for="lastname">${_('Lastname')}:</label>
<label for="lastname">${_('Last Name')}:</label>
${h.text('lastname',class_='small')}
<label for="email">${_('Email')}:</label>
${h.text('email',class_='small')}
<div class="label label-checkbox">
<label for="active">${_('Active')}:</label>
<div class="checkboxes">
${h.checkbox('active',value=True)}
<label for="admin">${_('Admin')}:</label>
${h.checkbox('admin',value=True)}
<div class="buttons">
${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}
\ No newline at end of file
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('My account')} ${c.rhodecode_user.username} - ${c.rhodecode_name}
<%def name="breadcrumbs_links()">
${_('My Account')}
<div class="box box-left">
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom">
${h.form(url('admin_settings_my_account_update'),method='put')}
${h.text('username')}
${h.password('new_password')}
${h.text('name')}
${h.text('lastname')}
${h.text('email')}
<div class="box box-right">
<h5>${_('My repositories')}
<input class="top-right-rounded-corner top-left-rounded-corner bottom-left-rounded-corner bottom-right-rounded-corner" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
</h5>
<div class="table">
<table>
<thead>
<tr>
<th class="left">${_('Name')}</th>
<th class="left">${_('revision')}</th>
<th colspan="2" class="left">${_('action')}</th>
</thead>
<tbody>
%if c.user_repos:
%for repo in c.user_repos:
<td>
%if repo['repo'].dbrepo.repo_type =='hg':
<img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/>
%elif repo['repo'].dbrepo.repo_type =='git':
Status change: