##// END OF EJS Templates
added settings rest controllers for admin, updated routes with easier submodule handling
added settings rest controllers for admin, updated routes with easier submodule handling

File last commit:

r282:237470e6 default
r346:51362853 default
Show More
error_404.html
31 lines | 853 B | text/html | HtmlLexer
Marcin Kuzminski
Updated error handling, from mercurial to pylons. + added tempalte for 404
r87 ## -*- 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()">
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>