Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/hgweb_mod.py @ 7337:feb0b76b6717
hgweb: Change default style to paper
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 06 Nov 2008 11:56:01 -0600 |
parents | 2dc868712dcc |
children | 1a5c9ca2bfd5 |
comparison
equal
deleted
inserted
replaced
7336:2dc868712dcc | 7337:feb0b76b6717 |
---|---|
240 yield dict(name=name, value=value, separator=separator) | 240 yield dict(name=name, value=value, separator=separator) |
241 separator = ';' | 241 separator = ';' |
242 | 242 |
243 # figure out which style to use | 243 # figure out which style to use |
244 | 244 |
245 style = self.config("web", "style", "") | 245 style = self.config("web", "style", "paper") |
246 if 'style' in req.form: | 246 if 'style' in req.form: |
247 style = req.form['style'][0] | 247 style = req.form['style'][0] |
248 mapfile = style_map(self.templatepath, style) | 248 mapfile = style_map(self.templatepath, style) |
249 | 249 |
250 if not self.reponame: | 250 if not self.reponame: |