comparison mercurial/hgweb/hgwebdir_mod.py @ 3473:2896ce093ec4

Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 21 Oct 2006 20:19:46 +0200
parents ec6f400cff4d
children bbfb392b2b1a
comparison
equal deleted inserted replaced
3472:9fab252a7545 3473:2896ce093ec4
200 "%s%s" % ((not descending and column == sortcolumn) 200 "%s%s" % ((not descending and column == sortcolumn)
201 and "-" or "", column)) 201 and "-" or "", column))
202 for column in sortable] 202 for column in sortable]
203 req.write(tmpl("index", entries=entries, 203 req.write(tmpl("index", entries=entries,
204 sortcolumn=sortcolumn, descending=descending, 204 sortcolumn=sortcolumn, descending=descending,
205 motd=self.motd,
205 **dict(sort))) 206 **dict(sort)))