From dbbef67353b18cdf8290218dc610922a9d4f3aaa Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Thu, 24 Sep 2009 06:28:35 +0000 Subject: Move the two template files to template.* - This gives shorter and more unified names. darcs-hash:20090924062835-82ea9-3042ac2a6d83f7bd7cf9eb26b73dff25ac96da39.gz --- (limited to 'template.txt') diff --git a/template.txt b/template.txt new file mode 100644 index 0000000..bf58057 --- /dev/null +++ b/template.txt @@ -0,0 +1,53 @@ +{% python + heading = "="*len(meeting['title']) + + from textwrap import TextWrapper + def wrap(text, level): + return TextWrapper(width=72, initial_indent=' '*(level-1)*2, subsequent_indent=' '*level*2, break_long_words=False).fill(text) +%} +${heading} +${meeting.title} +${heading} + + +Meeting started by ${meeting.owner} at ${time.start} ${time.timezone}. The full logs are +available at ${meeting.logs} . + + + +Meeting summary +--------------- + +{% for item in agenda %}\ +{% choose %}\ +{% when item.topic.nick %}${wrap("* %s (%s, %s)"%(item.topic.topic, item.topic.nick, item.topic.time), 1)}{% end %}\ +{% otherwise %}${wrap("* %s"%(item.topic.topic), 1)}{% end %} +{% end %}\ +{% for note in item.notes %}\ +${wrap("* %s: %s (%s, %s)"%(note.itemtype, note.line, note.nick, note.time), 2)} +{% end %} +{%end%} + +Meeting ended at ${time.end} ${time.timezone}. + + + +Action items, by person +----------------------- + +{% for attendee in actions_person %}\ +* ${attendee.nick} +{% for action in attendee.actions %}\ +${wrap("* %s"%action, 2)} +{% end %} +{% end %} + +People present (lines said) +--------------------------- + +{% for attendee in attendees %}\ +* ${attendee.nick} (${attendee.count}) +{% end %} + + +Generated by `MeetBot`_ ${meetbot.version} -- cgit v0.9.1