diff options
author | Richard Darst <rkd@zgib.net> | 2009-08-16 03:15:08 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-08-16 03:15:08 (GMT) |
commit | 2990b2967fe40c6f7c2ad2391b1c8220c3aa872c (patch) | |
tree | 2ced99944c1eddf200aef336c21088a909c37b19 | |
parent | 2471c70aa3ae2dc8a21aeb17807115c43beae62f (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.py | 2 | ||||
-rw-r--r-- | writers.py | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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): @@ -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: |