[PATCH 1/2] nmbug-status: parametrize title and blurb in the page header

2014-03-13 Thread Jani Nikula
Prepare for more general use.
---
 devel/nmbug/nmbug-status |8 +---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index 6b2572c..cb3901f 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -249,7 +249,7 @@ _PAGES['html'] = HtmlPage(
 
 
   
-  Notmuch Patches
+  {title}
   
 table {{
   border-spacing: 0;
@@ -285,13 +285,15 @@ _PAGES['html'] = HtmlPage(
   
 
 
-Notmuch Patches
+{title}
 
 Generated: {date}
-For more infomation see http://notmuchmail.org/nmbug";>nmbug
+{blurb}
 
 Views
 '''.format(date=datetime.datetime.utcnow().date(),
+   title='Notmuch Patches',
+   blurb='For more infomation see http://notmuchmail.org/nmbug";>nmbug',
encoding=_ENCODING,
inter_message_padding='0.25em',
border_radius='0.5em'),
-- 
1.7.2.5



[PATCH 1/2] nmbug-status: parametrize title and blurb in the page header

2014-03-13 Thread Jani Nikula
Prepare for more general use.
---
 devel/nmbug/nmbug-status |8 +---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index 6b2572c..cb3901f 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -249,7 +249,7 @@ _PAGES['html'] = HtmlPage(
 
 
   
-  Notmuch Patches
+  {title}
   
 table {{
   border-spacing: 0;
@@ -285,13 +285,15 @@ _PAGES['html'] = HtmlPage(
   
 
 
-Notmuch Patches
+{title}
 
 Generated: {date}
-For more infomation see http://notmuchmail.org/nmbug";>nmbug
+{blurb}
 
 Views
 '''.format(date=datetime.datetime.utcnow().date(),
+   title='Notmuch Patches',
+   blurb='For more infomation see http://notmuchmail.org/nmbug";>nmbug',
encoding=_ENCODING,
inter_message_padding='0.25em',
border_radius='0.5em'),
-- 
1.7.2.5

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch