diff options
author | Richard Darst <rkd@zgib.net> | 2009-11-24 06:54:42 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-11-24 06:54:42 (GMT) |
commit | 4198e4ae74322321046661c3c010c337ba8fac00 (patch) | |
tree | 22b9713974f0c39dc809b44921d6cd2970afd8bc | |
parent | 4e700134867dcffd33fc53e710f272c519c2cca1 (diff) |
Update template writers to use absolute/relative URLs
- This should bring the template writers in line with what the other
writers do.
darcs-hash:20091124065442-82ea9-61ecf0ee5343d0b679fa70f0f41e12eeb3a002c4.gz
-rw-r--r-- | template.txt | 2 | ||||
-rw-r--r-- | writers.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template.txt b/template.txt index 565c2ee..5cb8bb8 100644 --- a/template.txt +++ b/template.txt @@ -10,7 +10,7 @@ ${meeting.title} ${heading} -${wrap("Meeting started by %s at %s %s. The full logs are available at %s ."%(meeting.owner, time.start, time.timezone, meeting.logs), 1)} +${wrap("Meeting started by %s at %s %s. The full logs are available at %s ."%(meeting.owner, time.start, time.timezone, meeting.logsFullURL), 1)} @@ -242,7 +242,7 @@ class _BaseWriter(object): repl = self.get_template(escape=escape) repl = { 'time': { 'start': repl['starttime'], 'end': repl['endtime'], 'timezone': repl['timeZone'] }, - 'meeting': { 'title': repl['pageTitle'], 'owner': repl['owner'], 'logs': repl['fullLogsFullURL'] }, + 'meeting': { 'title': repl['pageTitle'], 'owner': repl['owner'], 'logs': repl['fullLogs'], 'logsFullURL': repl['fullLogsFullURL'] }, 'attendees': [ person for person in repl['PeoplePresent'] ], 'agenda': [ { 'topic': item['topic'], 'notes': item['items'] } for item in repl['MeetingItems'] ], 'actions': [ action for action in repl['ActionItems'] ], |