imip-agent

Change of imipweb/event.py

489:59a7a3a5b0fd
imipweb/event.py
     1.1 --- a/imipweb/event.py	Sun Apr 05 18:22:54 2015 +0200
     1.2 +++ b/imipweb/event.py	Sun Apr 05 18:24:49 2015 +0200
     1.3 @@ -752,11 +752,13 @@
     1.4          recurrenceid = format_datetime(obj.get_utc_datetime("RECURRENCE-ID"))
     1.5  
     1.6          if recurrenceid:
     1.7 -            obj = self._get_object(uid)
     1.8 -            if not obj:
     1.9 +            parent = self._get_object(uid)
    1.10 +            if not parent:
    1.11                  return
    1.12  
    1.13 -            page.p("This event modifies a recurring event.")
    1.14 +            page.p()
    1.15 +            page.a("This event modifies a recurring event.", href=self.link_to(uid))
    1.16 +            page.p.close()
    1.17  
    1.18          # Obtain the periods associated with the event in the user's time zone.
    1.19