Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/template.txt
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-09-24 06:28:35 (GMT)
committer Richard Darst <rkd@zgib.net>2009-09-24 06:28:35 (GMT)
commitdbbef67353b18cdf8290218dc610922a9d4f3aaa (patch)
treeaad879572341d1e06036e4a0e9489d41d525cc8b /template.txt
parent5d10f64f7bb6f3acfa7482ce6ab42873eda8a612 (diff)
Move the two template files to template.*
- This gives shorter and more unified names. darcs-hash:20090924062835-82ea9-3042ac2a6d83f7bd7cf9eb26b73dff25ac96da39.gz
Diffstat (limited to 'template.txt')
-rw-r--r--template.txt53
1 files changed, 53 insertions, 0 deletions
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}