##// END OF EJS Templates
Pygments code coloring rewrite, annotation was moved to vcs whitch had much better lib for that. Fixed code recognition based on mimetypes of filenodes, for better coloring.
Pygments code coloring rewrite, annotation was moved to vcs whitch had much better lib for that. Fixed code recognition based on mimetypes of filenodes, for better coloring.

File last commit:

r215:70f645fa default
r250:be4621c6 default
Show More
error_404.html
34 lines | 895 B | text/html | HtmlLexer
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87 ## -*- 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()">
removed search field from templates
r189 ${self.menu('admin')}
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87 </%def>
<%def name="js()">
</%def>
<%def name="main()">
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
r215 <h2 class="no-link no-border">${_('Not Found')}</h2>
<p class="normal">${_('The specified repository "%s" is unknown, sorry.') % c.repo_name}</p>
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87 <p class="normal">
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
r215 <a href="${h.url('new_repo',repo=c.repo_name_cleaned)}">
${_('Create "%s" repository as %s' % (c.repo_name,c.repo_name_cleaned))}</a>
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87
</p>
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
r215 <p class="normal">${h.link_to(_('Go back to the main repository list page'),h.url('hg_home'))}</p>
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87 <div class="page-footer">
</div>
</%def>