From 5765235300f526adf91871136b0271cc23cb4982 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 8 May 2010 12:46:08 -0400 Subject: [PATCH] show exception information on the non-edit view as well. --- kronolith/templates/view/view.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kronolith/templates/view/view.inc b/kronolith/templates/view/view.inc index e5bd45a6b..bd002d2cc 100644 --- a/kronolith/templates/view/view.inc +++ b/kronolith/templates/view/view.inc @@ -86,7 +86,7 @@ if ($this->event->initialized && $this->event->alarm > 0): -event->recurs()): ?> +event->recurs() || !empty($this->event->baseid)): ?> @@ -94,7 +94,9 @@ if ($this->event->initialized && $this->event->alarm > 0):    -event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_DAILY)): ?> +event->baseid):?> + event->exceptionoriginaldate->strftime($GLOBALS['prefs']->getValue('date_format')));?> +event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_DAILY)): ?> event->recurrence->getRecurInterval() . ' ' . _("day(s)") ?> event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_WEEKLY)): $weekdays = array(); @@ -121,6 +123,7 @@ if ($this->event->initialized && $this->event->alarm > 0): +event->recurs()): ?>    event->recurrence->hasRecurEnd() ? $this->event->recurrence->recurEnd->strftime($dateFormat) . ($this->event->recurrence->recurEnd->hour == 23 && $this->event->recurrence->recurEnd->min == 59 ? '' : ' ' . $this->event->recurrence->recurEnd->format($timeFormat)) : ($this->event->recurrence->getRecurCount() ? sprintf(_("%d times"), $this->event->recurrence->getRecurCount()) : _("No end date")) ?> @@ -132,7 +135,7 @@ if ($this->event->initialized && $this->event->alarm > 0):    event->exceptionsList(); ?> - + -- 2.11.0