##// END OF EJS Templates
fixed user permissions bug when adding permissions to user who couldn load those because of auth decorators...
fixed user permissions bug when adding permissions to user who couldn load those because of auth decorators Small fix for hg model and injecting dbrepo into cached repos

File last commit:

r282:237470e6 default
r368:e9a6783f 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>