Files
@ a83a1799480c
Branch filter:
Location: kallithea/pylons_app/templates/errors/error_404.html - annotation
a83a1799480c
895 B
text/html
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 410101210923 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 9f6300b96380 70f645fa97cc 70f645fa97cc 9f6300b96380 70f645fa97cc 70f645fa97cc 9f6300b96380 9f6300b96380 70f645fa97cc 9f6300b96380 9f6300b96380 9f6300b96380 | ## -*- coding: utf-8 -*-
<%!
from pylons_app.lib import filters
%>
<%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>
|