diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 17:20:16 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 17:20:16 -0700 |
| commit | fec244eb00508517cd3313f6cf55973c2d2e99cf (patch) | |
| tree | 0931b07101ac4b7fdecba13f2ff1b2555109e287 /rt/share/html/Elements | |
| parent | 21a232b78413718d8a68867ba7eb4f52a287f9b6 (diff) | |
merge RTx-Calendar 0.14
Diffstat (limited to 'rt/share/html/Elements')
| -rw-r--r-- | rt/share/html/Elements/CalendarEvent | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rt/share/html/Elements/CalendarEvent b/rt/share/html/Elements/CalendarEvent index 3a6b00bb8..65dd58c9f 100644 --- a/rt/share/html/Elements/CalendarEvent +++ b/rt/share/html/Elements/CalendarEvent @@ -13,11 +13,11 @@ $DateTypes => undef % and RTx::Calendar::LocalDate($Object->ResolvedObj->Unix) eq $today) { <img src="<%$RT::WebImagesURL%>/resolved.png" /> -% } elsif ($DateTypes->{Starts} and $DateTypes->{Due} +% } elsif ($DateTypes->{Starts} and $DateTypes->{Due} % and RTx::Calendar::LocalDate($Object->StartsObj->Unix) eq $today and RTx::Calendar::LocalDate($Object->DueObj->Unix) eq $today ) { <img src="<%$RT::WebImagesURL%>/starts_due.png" /> -% } elsif ($DateTypes->{Due} and $DateTypes->{Created} +% } elsif ($DateTypes->{Due} and $DateTypes->{Created} % and RTx::Calendar::LocalDate($Object->DueObj->Unix) eq $today and RTx::Calendar::LocalDate($Object->CreatedObj->Unix) eq $today ) { <img src="<%$RT::WebImagesURL%>/created_due.png" /> @@ -25,7 +25,7 @@ $DateTypes => undef % and RTx::Calendar::LocalDate($Object->StartsObj->Unix) eq $today) { <img src="<%$RT::WebImagesURL%>/starts.png" /> -% } elsif ($DateTypes->{Due} +% } elsif ($DateTypes->{Due} % and RTx::Calendar::LocalDate($Object->DueObj->Unix) eq $today) { <img src="<%$RT::WebImagesURL%>/due.png" /> @@ -64,7 +64,7 @@ $DateTypes => undef % my $method = '$Object->'.$attr.'()'; % $method =~ s/->ISO\(\)$/->ISO( Timezone => 'user' )/; % $value = eval $method; -% if ($@) {die "<b>Check your CalendarPopupFields config in etc/RT_SiteConfig.pm</b>.<br /><br />Failed to find \"$attr\" - ". $@}; +% if ($@) {die "<b>Check your CalendarPopupFields config in etc/RT_SiteConfig.pm</b>.<br /><br />Failed to find \"$attr\" - ". $@}; % } <strong><&|/l&><% $label_of{$attr} %></&>:</strong> <% $value %><br /> % } |
