Mercurial > kallithea
comparison pylons_app/templates/errors/error_404.html @ 215:70f645fa97cc
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.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 24 May 2010 22:18:15 +0200 |
parents | 410101210923 |
children | 237470e64bb8 |
comparison
equal
deleted
inserted
replaced
214:5b8d00d40bd4 | 215:70f645fa97cc |
---|---|
20 <%def name="js()"> | 20 <%def name="js()"> |
21 | 21 |
22 </%def> | 22 </%def> |
23 <%def name="main()"> | 23 <%def name="main()"> |
24 | 24 |
25 <h2 class="no-link no-border">Not Found</h2> | 25 <h2 class="no-link no-border">${_('Not Found')}</h2> |
26 <p class="normal">The specified repository "${c.repo_name}" is unknown, sorry.</p> | 26 <p class="normal">${_('The specified repository "%s" is unknown, sorry.') % c.repo_name}</p> |
27 <p class="normal"> | 27 <p class="normal"> |
28 <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> | 28 <a href="${h.url('new_repo',repo=c.repo_name_cleaned)}"> |
29 ${_('Create "%s" repository as %s' % (c.repo_name,c.repo_name_cleaned))}</a> | |
29 | 30 |
30 </p> | 31 </p> |
31 <p class="normal">Go back to the ${h.link_to(_('main repository list page'),h.url('hg_home'))}.</p> | 32 <p class="normal">${h.link_to(_('Go back to the main repository list page'),h.url('hg_home'))}</p> |
32 <div class="page-footer"> | 33 <div class="page-footer"> |
33 </div> | 34 </div> |
34 </%def> | 35 </%def> |