## -*- 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

Change your avatar at gravatar.com
${_('Using')} ${c.user.email}

${h.text('username',class_="medium")}
${h.password('new_password',class_="medium")}
${h.text('name',class_="medium")}
${h.text('lastname',class_="medium")}
${h.text('email',class_="medium")}
${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")} ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}
${_('My repositories')}
%if h.HasPermissionAny('hg.admin','hg.create.repository')(): %endif
%if c.user_repos: %for repo in c.user_repos: %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'))} %endif %endif
${_('Name')} ${_('revision')} ${_('action')}
%if repo['repo'].dbrepo.repo_type =='hg': ${_('Mercurial repository')} %elif repo['repo'].dbrepo.repo_type =='git': ${_('Git repository')} %else: %endif %if repo['repo'].dbrepo.private: ${_('private')} %else: ${_('public')} %endif ${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")} %if repo['repo'].dbrepo.fork: ${_('public')} %endif ${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))} ${_('private')} ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')} ${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} ${h.end_form()}