Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-08-16 03:15:08 (GMT)
committer Richard Darst <rkd@zgib.net>2009-08-16 03:15:08 (GMT)
commit2990b2967fe40c6f7c2ad2391b1c8220c3aa872c (patch)
tree2ced99944c1eddf200aef336c21088a909c37b19
parent2471c70aa3ae2dc8a21aeb17807115c43beae62f (diff)
Two small formatting changes in writers: INFO and blank lines
- Make INFO the assumed default in ReST and Text writers - don't show "INFO:" at the start of the line - Add extra blank lines in ReST between topics - makes it look a little bit nicer (but not much. ReST is sort of the worst of both worlds for something this specialized. darcs-hash:20090816031508-82ea9-a8e92abae01914e1bff7f9ee36f22512e27ce114.gz
-rw-r--r--items.py2
-rw-r--r--writers.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/items.py b/items.py
index 19ff1a5..7318166 100644
--- a/items.py
+++ b/items.py
@@ -166,6 +166,8 @@ class Info(GenericItem):
itemtype = 'INFO'
html2_template = ("""%(starthtml)s%(line)s%(endhtml)s """
"""(<a href='%(link)s#%(anchor)s'>%(nick)s</a>, %(time)s)""")
+ rst_template = """%(startrst)s%(line)s%(endrst)s (%(rstref)s_)"""
+ text_template = """%(starttext)s%(line)s%(endtext)s (%(nick)s, %(time)s)"""
class Idea(GenericItem):
itemtype = 'IDEA'
class Agreed(GenericItem):
diff --git a/writers.py b/writers.py
index 6b95b52..f7c3a31 100644
--- a/writers.py
+++ b/writers.py
@@ -465,6 +465,8 @@ class ReST(_BaseWriter):
for m in M.minutes:
item = "* "+m.rst(M)
if m.itemtype == "TOPIC":
+ if haveTopic:
+ MeetingItems.append("")
item = wrapList(item, 0)
haveTopic = True
else: