Mercurial > hg
changeset 4842:d39776752a1f
gitweb: add notfound template
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Jul 2007 19:47:04 -0700 |
parents | 9b0ebb5e0f94 |
children | 496ac05c6a31 |
files | templates/gitweb/map templates/gitweb/notfound.tmpl |
diffstat | 2 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/gitweb/map Thu Jul 05 19:44:06 2007 -0700 +++ b/templates/gitweb/map Thu Jul 05 19:47:04 2007 -0700 @@ -5,6 +5,7 @@ changelog = changelog.tmpl summary = summary.tmpl error = error.tmpl +notfound = notfound.tmpl naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/gitweb/notfound.tmpl Thu Jul 05 19:47:04 2007 -0700 @@ -0,0 +1,19 @@ +{header} +<title>Mercurial repositories index</title> +</head> + +<body> + +<div class="page_header"> +<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div + style="float:right;">Mercurial</div></a> Not found: {repo|escape} +</div> + +<div class="page_body"> +The specified repository "{repo|escape}" is unknown, sorry. +<br/> +<br/> +Please go back to the <a href="/">main repository list page</a>. +</div> + +{footer}