## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${c.hg_app_user.username} ${_('account')} <%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')}
${h.text('username')}
${h.password('new_password')}
${h.text('name')}
${h.text('lastname')}
${h.text('email')}
${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}
${_('My repositories')}
%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
%if repo.dbrepo.private: ${_('private')} %else: ${_('public')} %endif ${h.link_to(repo.name, h.url('summary_home',repo_name=repo.name))} %if repo.dbrepo.fork: ${_('public')} %endif ${_('revision')}: ${h.get_changeset_safe(repo,'tip').revision} ${_('last changed')}: ${h.age(repo.last_change)} ${_('private')} ${h.link_to(_('edit'),h.url('repo_settings_home',repo_name=repo.name))} ${h.form(url('repo_settings_delete', repo_name=repo.name),method='delete')} ${h.submit('remove_%s' % repo.name,'delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} ${h.end_form()}