# HG changeset patch # User Thomas Arendsen Hein # Date 1161454786 -7200 # Node ID 2896ce093ec42b480f4fedaf62f7f2db9330c2f5 # Parent 9fab252a754582f8004538f6480b9030cb8add57 Add #motd# to gitweb pages. Needs to pass self.motd to index template, too. diff -r 9fab252a7545 -r 2896ce093ec4 mercurial/hgweb/hgwebdir_mod.py --- 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))) diff -r 9fab252a7545 -r 2896ce093ec4 templates/gitweb/footer.tmpl --- a/templates/gitweb/footer.tmpl Thu Oct 19 16:15:01 2006 -0700 +++ b/templates/gitweb/footer.tmpl Sat Oct 21 20:19:46 2006 +0200 @@ -1,6 +1,8 @@ diff -r 9fab252a7545 -r 2896ce093ec4 templates/gitweb/index.tmpl --- a/templates/gitweb/index.tmpl Thu Oct 19 16:15:01 2006 -0700 +++ b/templates/gitweb/index.tmpl Sat Oct 21 20:19:46 2006 +0200 @@ -18,6 +18,7 @@ #entries%indexentry# diff -r 9fab252a7545 -r 2896ce093ec4 templates/static/style-gitweb.css --- a/templates/static/style-gitweb.css Thu Oct 19 16:15:01 2006 -0700 +++ b/templates/static/style-gitweb.css Sat Oct 21 20:19:46 2006 +0200 @@ -7,7 +7,7 @@ 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 {