## -*- 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')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}
${h.form(url('admin_settings_my_account_update'),method='put')}
gravatar

%if c.use_gravatar: ${_('Change your avatar at')} gravatar.com
${_('Using')} ${c.user.email} %else:
${c.user.email} %endif

${c.user.api_key}
${h.text('username',class_="medium")}
${h.password('new_password',class_="medium",autocomplete="off")}
${h.password('password_confirmation',class_="medium",autocomplete="off")}
${h.text('name',class_="medium")}
${h.text('lastname',class_="medium")}
${h.text('email',class_="medium")}
${h.submit('save',_('Save'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")}
${h.end_form()}
${_('My repos')} / ${_('My permissions')}
%if h.HasPermissionAny('hg.admin','hg.create.repository')(): %endif
<%namespace name="dt" file="/data_table/_dt_elements.html"/> %if c.user_repos: %for repo in c.user_repos: ##QUICK MENU ##REPO NAME AND ICONS ##LAST REVISION %endfor %else:
${_('No repositories yet')} %if h.HasPermissionAny('hg.admin','hg.create.repository')(): ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")} %endif
%endif
${_('Name')} ${_('Revision')} ${_('Action')} ${_('Action')}
${dt.quick_menu(repo['name'])} ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],repo['dbrepo_fork'].get('repo_name'))} ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])} ${_('private')} ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} ${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")} ${h.end_form()}