Mercurial > kallithea
view pylons_app/templates/errors/error_404.html @ 310:fc4027fe46bc
fixed bug when user is capable of creating _admin repository which is a link to admin interface
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 29 Jun 2010 12:32:30 +0200 |
parents | 237470e64bb8 |
children |
line wrap: on
line source
## -*- coding: utf-8 -*- <%inherit file="./../base/base.html"/> <%def name="title()"> ${_('Repository not found')} </%def> <%def name="breadcrumbs()"> ${h.link_to(u'Home',h.url('hg_home'))} / ${h.link_to(u'Admin',h.url('admin_home'))} </%def> <%def name="page_nav()"> ${self.menu('admin')} </%def> <%def name="js()"> </%def> <%def name="main()"> <h2 class="no-link no-border">${_('Not Found')}</h2> <p class="normal">${_('The specified repository "%s" is unknown, sorry.') % c.repo_name}</p> <p class="normal"> <a href="${h.url('new_repo',repo=c.repo_name_cleaned)}"> ${_('Create "%s" repository as %s' % (c.repo_name,c.repo_name_cleaned))}</a> </p> <p class="normal">${h.link_to(_('Go back to the main repository list page'),h.url('hg_home'))}</p> <div class="page-footer"> </div> </%def>