gitweb: add notfound template
authorBrendan Cully <brendan@kublai.com>
Thu, 05 Jul 2007 19:47:04 -0700
changeset 5079 04c1474ccddd
parent 5078 d27ed83289ee
child 5080 73fdc8bd3ed8
gitweb: add notfound template
templates/gitweb/map
templates/gitweb/notfound.tmpl
--- 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}