##// END OF EJS Templates
made global funcion to clean repo names, and remove all special chars from the name....
made global funcion to clean repo names, and remove all special chars from the name. Switched message slug into webhelpers function

File last commit:

r215:70f645fa default
r260:6ada8c22 default
Show More
error_404.html
34 lines | 895 B | text/html | HtmlLexer
## -*- 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>