diff 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
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py
+++ b/mercurial/hgweb/hgwebdir_mod.py
@@ -202,4 +202,5 @@ class hgwebdir(object):
                         for column in sortable]
                 req.write(tmpl("index", entries=entries,
                                sortcolumn=sortcolumn, descending=descending,
+                               motd=self.motd,
                                **dict(sort)))