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
This commit is contained in:
parent
b62041a6d1
commit
02105f12f3
2
items.py
2
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):
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue