| Line 77... |
Line 77... |
| 77 |
map ({ inArray($_, \@dayschecked) ? $h->input ({ type => "checkbox", name => $_, checked => [] }).$_.$h->br : $h->input ({ type => "checkbox", name => $_ }).$_.$h->br } @days),
|
77 |
map ({ inArray($_, \@dayschecked) ? $h->input ({ type => "checkbox", name => $_, checked => [] }).$_.$h->br : $h->input ({ type => "checkbox", name => $_ }).$_.$h->br } @days),
|
| 78 |
$h->input ({ type => "submit", value => scalar @dayschecked ? "Update my hours." : "Give me credit!" })
|
78 |
$h->input ({ type => "submit", value => scalar @dayschecked ? "Update my hours." : "Give me credit!" })
|
| 79 |
]);
|
79 |
]);
|
| 80 |
}
|
80 |
}
|
| Line 81... |
Line 81... |
| 81 |
|
81 |
|
| Line 82... |
Line 82... |
| 82 |
my $schedule = getSchedule ($user->{RCid});
|
82 |
my $schedule = getSchedule ($user->{RCid}, 'all', 'shifts');
|
| 83 |
|
83 |
|
| 84 |
my @everyone;
|
84 |
my @everyone;
|
| 85 |
my @printDEPTS = map { $DEPTS->{$_} } grep { $user->{department}->{$_} > 0 } grep { !/(ANN)|(OFF)/ } sort keys %{$user->{department}};
|
85 |
my @printDEPTS = map { $DEPTS->{$_} } grep { $user->{department}->{$_} > 0 } grep { !/(ANN)|(OFF)/ } sort keys %{$user->{department}};
|
| Line 270... |
Line 270... |
| 270 |
|
270 |
|
| Line 271... |
Line 271... |
| 271 |
print $h->div ({ class=>"index" }, [$h->p ({ class=>"heading" }, "Announcement:"), $h->ul ([ @announcements ]) ]) if (scalar @announcements);
|
271 |
print $h->div ({ class=>"index" }, [$h->p ({ class=>"heading" }, "Announcement:"), $h->ul ([ @announcements ]) ]) if (scalar @announcements);
|
| Line 272... |
Line 272... |
| 272 |
|
272 |
|
| Line 273... |
Line 273... |
| 273 |
print $h->div ({ class=>"index" }, [$h->p ({ class=>"heading" }, "Note:"), "<b>Your account is being reviewed.</b>", $h->br, "You won't have access to view or sign-up for things until you've been approved / added to a department.", $h->br, "Please watch your email for notifications." ]) unless $activated;
|
273 |
print $h->div ({ class=>"index" }, [$h->p ({ class=>"heading" }, "Note:"), "<b>Your account is being reviewed.</b>", $h->br, "You won't have access to view or sign-up for things until you've been approved / added to a department.", $h->br, "Please watch your email for notifications." ]) unless $activated;
|
| Line 274... |
Line 274... |
| 274 |
|
274 |
|