From 4198e4ae74322321046661c3c010c337ba8fac00 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Tue, 24 Nov 2009 06:54:42 +0000 Subject: 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 --- 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)} diff --git a/writers.py b/writers.py index ea3e623..7a6738b 100644 --- a/writers.py +++ b/writers.py @@ -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'] ], -- cgit v0.9.1