diff options
| author | Mark Wells <mark@freeside.biz> | 2012-09-29 16:36:46 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-09-29 16:36:46 -0700 |
| commit | 33beebf4cb42eba3e1dd868ad5e0af102de961da (patch) | |
| tree | 860712543dcc74ff2402a4ed8d73e8cd553e62d4 /rt/share/html/Elements/CalendarEvent | |
| parent | 7ac86daf67b0a95153b736d5811f9050363f6553 (diff) | |
update address standardization for cust_location changes
Diffstat (limited to 'rt/share/html/Elements/CalendarEvent')
| -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 /> % } |
