[PATCH 2/5] Move the generated date from the top of the page to the footer.
W. Trevor King
wking at tremily.us
Sat May 10 12:12:46 PDT 2014
From: Carl Worth <cworth at cworth.org>
It's useful reference information, but anyone who wants it will look
for and find it. We don't need this front-and-center.
---
devel/nmbug/nmbug-status | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index a7c7920..b4f9829 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -312,18 +312,15 @@ _PAGES['html'] = HtmlPage(
</head>
<body>
<h2>{title}</h2>
-<p>
-Generated: {date}<br />
{blurb}
</p>
<h3>Views</h3>
-'''.format(date=datetime.datetime.utcnow().date(),
- title=config['meta']['title'],
+'''.format(title=config['meta']['title'],
blurb=config['meta']['blurb'],
encoding=_ENCODING,
inter_message_padding='0.25em',
border_radius='0.5em'),
- footer='</body>\n</html>\n',
+ footer='<hr><p>Generated: {date}</body>\n</html>\n'.format(date=datetime.datetime.utcnow().date())
)
if args.list_views:
--
1.9.1.353.gc66d89d
More information about the notmuch
mailing list