gitweb: add notfound template
authorBrendan Cully <brendan@kublai.com>
Thu, 05 Jul 2007 19:47:04 -0700
changeset 4842 d39776752a1f
parent 4841 9b0ebb5e0f94
child 4843 496ac05c6a31
gitweb: add notfound template
templates/gitweb/map
templates/gitweb/notfound.tmpl
--- 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}