diff mercurial/hgweb/hgwebdir_mod.py @ 3478: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	Thu Oct 19 16:15:01 2006 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sat Oct 21 20:19:46 2006 +0200
@@ -202,4 +202,5 @@
                         for column in sortable]
                 req.write(tmpl("index", entries=entries,
                                sortcolumn=sortcolumn, descending=descending,
+                               motd=self.motd,
                                **dict(sort)))