diff --git a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php index 6370301c..a3e61813 100644 --- a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php +++ b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php @@ -457,7 +457,7 @@ class tasklist_kolab_driver extends tasklist_driver $tomorrow_date = new DateTime('now + 1 day', $this->plugin->timezone); $tomorrow = $tomorrow_date->format('Y-m-d'); - $counts = array('all' => 0, 'flagged' => 0, 'today' => 0, 'tomorrow' => 0, 'overdue' => 0, 'nodate' => 0); + $counts = array('all' => 0, 'flagged' => 0, 'today' => 0, 'tomorrow' => 0, 'overdue' => 0, 'nodate' => 0, 'mytasks' => 0); foreach ($lists as $list_id) { if (!$folder = $this->get_folder($list_id)) { continue; @@ -479,6 +479,8 @@ class tasklist_kolab_driver extends tasklist_driver $counts['tomorrow']++; else if ($rec['date'] < $today) $counts['overdue']++; + if ($this->plugin->is_attendee($rec) !== false) + $counts['mytasks']++; } } diff --git a/plugins/tasklist/localization/en_US.inc b/plugins/tasklist/localization/en_US.inc index 99a11b05..3fd045a3 100644 --- a/plugins/tasklist/localization/en_US.inc +++ b/plugins/tasklist/localization/en_US.inc @@ -146,6 +146,7 @@ $labels['attendeedelegated'] = 'Assignee has delegated to $delegatedto'; $labels['attendeein-process'] = 'Assignee is in-process'; $labels['attendeecompleted'] = 'Assignee has completed'; +$labels['acceptinvitation'] = 'Do you accept this assignment?'; $labels['itipdeclinetask'] = 'Decline your assignment to this task to the organizer'; $labels['declinedeleteconfirm'] = 'Do you also want to delete this declined task from your tasks list?'; $labels['itipcomment'] = 'Invitation/notification comment'; diff --git a/plugins/tasklist/skins/larry/tasklist.css b/plugins/tasklist/skins/larry/tasklist.css index f6271362..ff8ba12d 100644 --- a/plugins/tasklist/skins/larry/tasklist.css +++ b/plugins/tasklist/skins/larry/tasklist.css @@ -1132,12 +1132,18 @@ div.tasklist-invitebox td.label { padding-right: 1em; } -#event-rsvp .rsvp-buttons, +#task-rsvp .rsvp-buttons, +#task-rsvp .itip-reply-controls, div.tasklist-invitebox .itip-buttons div { margin-top: 0.5em; } -#event-rsvp input.button, +#task-rsvp .itip-reply-controls a, +#task-rsvp .itip-reply-controls label { + color: #333; +} + +#task-rsvp input.button, div.tasklist-invitebox input.button { font-weight: bold; margin-right: 0.5em; @@ -1164,7 +1170,7 @@ div.tasklist-invitebox .rsvp-status.hint { font-style: italic; } -#event-partstat .changersvp, +#task-partstat .changersvp, .edit-attendees-table td.confirmstate span, div.tasklist-invitebox .rsvp-status.declined, div.tasklist-invitebox .rsvp-status.tentative, @@ -1177,37 +1183,37 @@ div.tasklist-invitebox .rsvp-status.needs-action { background: url(images/attendee-status.png) 2px -20px no-repeat; } -#event-partstat .changersvp.declined, +#task-partstat .changersvp.declined, div.tasklist-invitebox .rsvp-status.declined, .edit-attendees-table td.confirmstate span.declined { background-position: 2px -40px; } -#event-partstat .changersvp.tentative, +#task-partstat .changersvp.tentative, div.tasklist-invitebox .rsvp-status.tentative, .edit-attendees-table td.confirmstate span.tentative { background-position: 2px -60px; } -#event-partstat .changersvp.delegated, +#task-partstat .changersvp.delegated, div.tasklist-invitebox .rsvp-status.delegated, .edit-attendees-table td.confirmstate span.delegated { background-position: 2px -180px; } -#event-partstat .changersvp.needs-action, +#task-partstat .changersvp.needs-action, div.tasklist-invitebox .rsvp-status.needs-action, .edit-attendees-table td.confirmstate span.needs-action { background-position: 2px 0; } -#event-partstat .changersvp.in-process, +#task-partstat .changersvp.in-process, div.tasklist-invitebox .rsvp-status.in-process, .edit-attendees-table td.confirmstate span.in-process { background-position: 2px -200px; } -#event-partstat .changersvp.accepted, +#task-partstat .changersvp.accepted, div.tasklist-invitebox .rsvp-status.accepted, .edit-attendees-table td.confirmstate span.accepted { background-position: 2px -220px; diff --git a/plugins/tasklist/skins/larry/templates/mainview.html b/plugins/tasklist/skins/larry/templates/mainview.html index ad018eb3..5f6831f9 100644 --- a/plugins/tasklist/skins/larry/templates/mainview.html +++ b/plugins/tasklist/skins/larry/templates/mainview.html @@ -90,7 +90,7 @@ - + @@ -195,6 +195,18 @@
+
+ + + + +
+
+ + +
+ +