From 81a1aae2dc3b48c4e0dcc524455f32ca91087033 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Thu, 13 Mar 2014 13:04:04 +0100 Subject: [PATCH] nmbug-status: parameterize title and blurb in the page header Prepare for more general use. --- devel/nmbug/nmbug-status | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index 6b2572c1..cb3901f7 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -249,7 +249,7 @@ _PAGES['html'] = HtmlPage( - Notmuch Patches + {title} -

Notmuch Patches

+

{title}

Generated: {date}
-For more infomation see nmbug +{blurb}

Views

'''.format(date=datetime.datetime.utcnow().date(), + title='Notmuch Patches', + blurb='For more infomation see nmbug', encoding=_ENCODING, inter_message_padding='0.25em', border_radius='0.5em'), -- 2.26.2