diff options
author | Mathieu Bridon (bochecha) <bochecha@fedoraproject.org> | 2009-11-23 21:49:34 (GMT) |
---|---|---|
committer | Mathieu Bridon (bochecha) <bochecha@fedoraproject.org> | 2009-11-23 21:49:34 (GMT) |
commit | 4e700134867dcffd33fc53e710f272c519c2cca1 (patch) | |
tree | c2e312e80a9775e040327d7d1a9c947e8f432bf8 /template.txt | |
parent | fc635478cc6676e2e3064f7ee3877418ab831c25 (diff) |
Special-case the LINK item type in the templates.
Ignore-this: f498bd061633fee9b83120e91433db7e
darcs-hash:20091123214934-77622-cf80679228854bc8b727f575cc1a5d4bf24e047a.gz
Diffstat (limited to 'template.txt')
-rw-r--r-- | template.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/template.txt b/template.txt index bf58057..565c2ee 100644 --- a/template.txt +++ b/template.txt @@ -10,8 +10,7 @@ ${meeting.title} ${heading} -Meeting started by ${meeting.owner} at ${time.start} ${time.timezone}. The full logs are -available at ${meeting.logs} . +${wrap("Meeting started by %s at %s %s. The full logs are available at %s ."%(meeting.owner, time.start, time.timezone, meeting.logs), 1)} @@ -19,16 +18,19 @@ Meeting summary --------------- {% for item in agenda %}\ -{% choose %}\ +{% 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)} +{% choose %}\ +{% when note.itemtype == 'LINK' %}${wrap("* %s: %s %s (%s, %s)"%(note.itemtype, note.url, note.line, note.nick, note.time), 2)}{% end %}\ +{% otherwise %}${wrap("* %s: %s (%s, %s)"%(note.itemtype, note.line, note.nick, note.time), 2)}{% end %} +{% end %}\ +{% end %}\ {% end %} -{%end%} -Meeting ended at ${time.end} ${time.timezone}. +${wrap("Meeting ended at %s %s."%(time.end, time.timezone), 1)} |