changeset 5079:04c1474ccddd

gitweb: add notfound template
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Jul 2007 19:47:04 -0700
parents d27ed83289ee
children 73fdc8bd3ed8
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	Mon Aug 06 14:45:43 2007 +0200
+++ 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}