summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/CalendarSlotHeaderSchedule
blob: d7e1b76b9562483ffc4f4c19d0314533668287e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%ARGS>
$Date      => undef
$Tickets   => undef
$DateTypes => undef
@username  => ()
$slots     => $default_slots
</%ARGS>
% foreach my $username ( @username ) {
    <td align="center"><% $username %></td>
% }
% if ( scalar(@username) < $slots ) {
    <td colspan=<% $slots - scalar(@username) %>
    </td>
% }
<%ONCE>
my $default_slots = RT->Config->Get('CalendarWeeklySlots') || 5;
</%ONCE>