mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
nmbug-status: parameterize title and blurb in the page header
Prepare for more general use.
This commit is contained in:
parent
14d3251b9c
commit
81a1aae2dc
1 changed files with 5 additions and 3 deletions
|
@ -249,7 +249,7 @@ _PAGES['html'] = HtmlPage(
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
|
<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
|
||||||
<title>Notmuch Patches</title>
|
<title>{title}</title>
|
||||||
<style media="screen" type="text/css">
|
<style media="screen" type="text/css">
|
||||||
table {{
|
table {{
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
@ -285,13 +285,15 @@ _PAGES['html'] = HtmlPage(
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Notmuch Patches</h2>
|
<h2>{title}</h2>
|
||||||
<p>
|
<p>
|
||||||
Generated: {date}<br />
|
Generated: {date}<br />
|
||||||
For more infomation see <a href="http://notmuchmail.org/nmbug">nmbug</a>
|
{blurb}
|
||||||
</p>
|
</p>
|
||||||
<h3>Views</h3>
|
<h3>Views</h3>
|
||||||
'''.format(date=datetime.datetime.utcnow().date(),
|
'''.format(date=datetime.datetime.utcnow().date(),
|
||||||
|
title='Notmuch Patches',
|
||||||
|
blurb='For more infomation see <a href="http://notmuchmail.org/nmbug">nmbug</a>',
|
||||||
encoding=_ENCODING,
|
encoding=_ENCODING,
|
||||||
inter_message_padding='0.25em',
|
inter_message_padding='0.25em',
|
||||||
border_radius='0.5em'),
|
border_radius='0.5em'),
|
||||||
|
|
Loading…
Reference in a new issue