Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/gitweb/index.tmpl @ 4540:133a52d70958
Respect locale environment variables on darwin.
In python 2.4+ on darwin, locale.getpreferredencoding() returns
mac-roman regardless of what LC_CTYPE, LANG etc are set to. This can
produce hard-to-notice conversion errors if input text is not in
mac-roman. So this patch overrides it with setlocale/getlocale if the
environment has been customized, on the assumption that the user has
done so deliberately.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 11 Jun 2007 12:14:31 -0700 |
parents | 2896ce093ec4 |
children | 46c5e1ee8aaa |
rev | line source |
---|---|
3214 | 1 #header# |
2 <title>Mercurial repositories index</title> | |
3 </head> | |
4 <body> | |
5 | |
6 <div class="page_header"> | |
7 <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a>Repositories list | |
8 </div> | |
9 | |
10 <table cellspacing="0"> | |
11 <tr> | |
12 <td><a href="?sort=#sort_name#">Name</a></td> | |
13 <td><a href="?sort=#sort_description#">Description</a></td> | |
14 <td><a href="?sort=#sort_contact#">Contact</a></td> | |
15 <td><a href="?sort=#sort_lastchange#">Last change</a></td> | |
16 <td> </td> | |
17 <tr> | |
18 #entries%indexentry# | |
19 </table> | |
20 <div class="page_footer"> | |
3473
2896ce093ec4
Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3226
diff
changeset
|
21 #motd# |
3214 | 22 </div> |
23 </body> | |
24 </html> |