Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
--- 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)))
--- a/templates/gitweb/footer.tmpl
+++ b/templates/gitweb/footer.tmpl
@@ -1,6 +1,8 @@
<div class="page_footer">
<div class="page_footer_text">#repo|escape#</div>
<a class="rss_logo" href="#url#rss-log">RSS</a>
+<br />
+#motd#
</div>
</body>
</html>
--- a/templates/gitweb/index.tmpl
+++ b/templates/gitweb/index.tmpl
@@ -18,6 +18,7 @@
#entries%indexentry#
</table>
<div class="page_footer">
+#motd#
</div>
</body>
</html>
--- a/templates/static/style-gitweb.css
+++ b/templates/static/style-gitweb.css
@@ -7,7 +7,7 @@ div.page_header a:hover { color:#880000;
div.page_nav { padding:8px; }
div.page_nav a:visited { color:#0000cc; }
div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
-div.page_footer { height:17px; padding:4px 8px; background-color: #d9d8d1; }
+div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
div.page_footer_text { float:left; color:#555555; font-style:italic; }
div.page_body { padding:8px; }
div.title, a.title {