1.1 --- a/htdocs/styles.css Wed Jan 28 18:45:19 2015 +0100
1.2 +++ b/htdocs/styles.css Thu Jan 29 18:34:07 2015 +0100
1.3 @@ -23,3 +23,8 @@
1.4 background-color: #af8;
1.5 border: 2px solid #000;
1.6 }
1.7 +
1.8 +td.event:target {
1.9 + background-color: #5f4;
1.10 + border: 4px solid #000;
1.11 +}
2.1 --- a/imip_manager.py Wed Jan 28 18:45:19 2015 +0100
2.2 +++ b/imip_manager.py Thu Jan 29 18:34:07 2015 +0100
2.3 @@ -762,7 +762,12 @@
2.4
2.5 if point == start or continuation:
2.6
2.7 - page.td(class_="event", rowspan=span)
2.8 + # Only anchor the first cell of events.
2.9 +
2.10 + if point == start:
2.11 + page.td(class_="event", rowspan=span, id="%s-%s" % (group_type, uid))
2.12 + else:
2.13 + page.td(class_="event", rowspan=span)
2.14
2.15 obj = self._get_object(uid)
2.16
2.17 @@ -776,16 +781,10 @@
2.18 # updated by requests.
2.19
2.20 if uid in self._get_requests() and group_type != "request":
2.21 - page.span(summary, id="%s-%s" % (group_type, uid))
2.22 + page.span(summary)
2.23 else:
2.24 href = "%s/%s" % (self.env.get_url().rstrip("/"), uid)
2.25 -
2.26 - # Only anchor the first cell of events.
2.27 -
2.28 - if point == start:
2.29 - page.a(summary, href=href, id="%s-%s" % (group_type, uid))
2.30 - else:
2.31 - page.a(summary, href=href)
2.32 + page.a(summary, href=href)
2.33
2.34 page.td.close()
2.35 else: