Mercurial > kallithea
comparison pylons_app/templates/errors/error_404.html @ 87:9f6300b96380
Updated error handling, from mercurial to pylons. + added tempalte for 404
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Sun, 18 Apr 2010 21:15:53 +0200 |
parents | |
children | 9936a1d359e0 |
comparison
equal
deleted
inserted
replaced
86:e47d1db5ef20 | 87:9f6300b96380 |
---|---|
1 ## -*- coding: utf-8 -*- | |
2 <%! | |
3 from pylons_app.lib import filters | |
4 %> | |
5 <%inherit file="./../base/base.html"/> | |
6 | |
7 <%def name="title()"> | |
8 ${_('Repository not found')} | |
9 </%def> | |
10 | |
11 <%def name="breadcrumbs()"> | |
12 ${h.link_to(u'Home',h.url('hg_home'))} | |
13 / | |
14 ${h.link_to(u'Admin',h.url('admin_home'))} | |
15 </%def> | |
16 | |
17 <%def name="page_nav()"> | |
18 <li>${h.link_to(u'Home',h.url('hg_home'))}</li> | |
19 <li class="current">${_('Admin')}</li> | |
20 </%def> | |
21 <%def name="js()"> | |
22 | |
23 </%def> | |
24 <%def name="main()"> | |
25 | |
26 <h2 class="no-link no-border">Not Found</h2> | |
27 <p class="normal">The specified repository "${c.repo_name}" is unknown, sorry.</p> | |
28 <p class="normal"> | |
29 <a href="/_admin/add_repo/${c.repo_name|n,filters.clean_repo}">Create "${c.repo_name}" repository as ${c.repo_name|n,filters.clean_repo}</a> | |
30 | |
31 </p> | |
32 <p class="normal">Go back to the ${h.link_to(_('main repository list page'),h.url('hg_home'))}.</p> | |
33 <div class="page-footer"> | |
34 </div> | |
35 </%def> |