Skip to content

Commit

Permalink
update trash alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
RitikaDesai98 committed Jan 8, 2025
1 parent bb21f3e commit 2bb5a93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ public function get_items( $request ) {
$status = "Trash and recycling collections are on schedule.";
break;
case 1:
$status = "Trash and recycling collections are delayed in some areas. Set materials out on scheduled day.";
$status = "Trash and recycling collections are delayed in some areas. You should still set materials out on your scheduled day. ";
break;
case 2:
$delay = true;
$status = "Trash and recycling collections are delayed in some areas. Set materials out one day behind scheduled day.";
$status = "Trash and recycling collections are delayed in some areas. Set materials out one day after your scheduled day.";
break;
case 3:
$status = $flexible_collection['phila_flexible_collection_status'];
Expand Down Expand Up @@ -105,7 +105,7 @@ public function get_items( $request ) {
$end_date->setTime(0,0,1);

if ( ($holiday_date <= $today ) && ($end_date >= $today) && (date('N') <= 5) ) {
$status = "Trash and recycling collections are on a holiday schedule. Set materials out one day behind your regular day.";
$status = "This week, set trash and recycling out one day after your scheduled day. Trash-only collection (available in some areas) is canceled.";
$delay = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
<span class="bold">
<?php if
( $status == 3 ) { echo $flexible_collection['phila_flexible_collection_status']; } else if
( $is_holiday == true ) { echo "Trash and recycling collections are on a holiday schedule. Set materials out one day behind your regular day."; } else if
( $is_holiday == true ) { echo "This week, set trash and recycling out one day after your scheduled day. Trash-only collection (available in some areas) is canceled."; } else if
( $status == 0 ) { echo "Trash and recycling collections are on schedule."; } else if
( $status == 1 ) { echo "Trash and recycling collections are delayed in some areas. Set materials out on scheduled day."; } else if
( $status == 2 ) { echo "Trash and recycling collections are delayed in some areas. Set materials out one day behind scheduled day."; }
( $status == 1 ) { echo "Trash and recycling collections are delayed in some areas. You should still set materials out on your scheduled day. "; } else if
( $status == 2 ) { echo "Trash and recycling collections are delayed in some areas. Set materials out one day after your scheduled day."; }
?>
</span>
</td>
Expand Down

0 comments on commit 2bb5a93

Please sign in to comment.