annotate templates/notfound.tmpl @ 4872:419a6f715c6a

Use wsgi.url_scheme instead of ad-hoc CGI checks. Instead of each place in hgweb_mod that needs to check for SSL or get the protocol scheme (http vs. https) doing it ad-hoc, make them just look at the wsgi.url_scheme which because of previous patches is now always set correctly.
author Wesley J. Landaker <wjl@icecavern.net>
date Thu, 12 Jul 2007 22:55:44 -0700
parents fbe4bbd847e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
1 #header#
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
2 <title>Mercurial repositories index</title>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
3 </head>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
4 <body>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
5
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
6 <h2>Mercurial Repositories</h2>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
7
1549
fbe4bbd847e5 Always escape repository name in hgweb, very important in notfound.tmpl.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1137
diff changeset
8 The specified repository "#repo|escape#" is unknown, sorry.
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
9
1137
c54d03bdf2dc Remove the link from the template as there no real way to have it always be correct.
Ollivier Robert <roberto@keltia.freenix.fr>
parents: 1124
diff changeset
10 Please go back to the main repository list page.
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
11
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
12 #footer#