diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2014-04-12 14:58:12 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2014-04-12 14:58:12 -0700 |
| commit | e6341bb01533cc32252676ea40bb94bbd2613a37 (patch) | |
| tree | 006613b64480390f3dd11ac6636af595b5f86b40 /rt/share/html/Elements/CalendarSlotHeaderSchedule | |
| parent | d1bfdbf97b2950f5f6ccb1255db387479d483955 (diff) | |
installers (calendaring), RT#16584
Diffstat (limited to 'rt/share/html/Elements/CalendarSlotHeaderSchedule')
| -rw-r--r-- | rt/share/html/Elements/CalendarSlotHeaderSchedule | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rt/share/html/Elements/CalendarSlotHeaderSchedule b/rt/share/html/Elements/CalendarSlotHeaderSchedule new file mode 100644 index 000000000..d7e1b76b9 --- /dev/null +++ b/rt/share/html/Elements/CalendarSlotHeaderSchedule @@ -0,0 +1,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> |
