summaryrefslogtreecommitdiffstats
path: root/scripts/minimaws/lib/htmltmpl.py
diff options
context:
space:
mode:
author wilbertpol <wilbertpol@users.noreply.github.com>2021-10-05 19:16:42 +0200
committer GitHub <noreply@github.com>2021-10-05 19:16:42 +0200
commiteae75824d3c8d697216a9782b9f7ca6494ef431d (patch)
treeeb98e1e99941c8843fe2196480927eefb00e2784 /scripts/minimaws/lib/htmltmpl.py
parent716c9f4c863ca150ff519429b24168df9890f1b1 (diff)
softlist.cpp: Add support for a 'notes' field to store information ab… (#8482)
* softlist.cpp: Add support for a 'notes' field to store information about a software list or software list item. [Wilbert Pol] * Add software list and software notes to minimaws
Diffstat (limited to 'scripts/minimaws/lib/htmltmpl.py')
-rw-r--r--scripts/minimaws/lib/htmltmpl.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/minimaws/lib/htmltmpl.py b/scripts/minimaws/lib/htmltmpl.py
index a80b4099787..4f3bf12bb46 100644
--- a/scripts/minimaws/lib/htmltmpl.py
+++ b/scripts/minimaws/lib/htmltmpl.py
@@ -258,6 +258,10 @@ SOFTWARE_PROLOGUE = string.Template(
' <tr><th>Year:</th><td>${year}</td></tr>\n' \
' <tr><th>Publisher:</th><td>${publisher}</td></tr>\n');
+SOFTWARE_EPILOGUE = string.Template(
+ '<h2>Notes</h2>\n' \
+ '<p><pre>${notes}<p></pre>\n');
+
SOFTWARE_CLONES_PROLOGUE = string.Template(
'<h2 id="heading-clones">Clones</h2>\n' \
'<table id="tbl-clones">\n' \
@@ -328,6 +332,10 @@ SOFTWARELIST_PROLOGUE = string.Template(
' </tr>\n' \
'</table>\n')
+SOFTWARELIST_EPILOGUE = string.Template(
+ '<h2>Notes</h2>\n' \
+ '<p><pre>${notes}<p></pre>\n')
+
SOFTWARELIST_MACHINE_TABLE_HEADER = string.Template(
'<h2 id="heading-machines">Machines</h2>\n' \
'<table id="tbl-machines">\n' \