File: AgentDashboardAppointmentCalendar.tt

package info (click to toggle)
otrs2 6.0.32-6
  • links: PTS
  • area: non-free
  • in suites: bullseye
  • size: 197,336 kB
  • sloc: perl: 1,003,018; javascript: 75,060; xml: 70,883; php: 51,819; sql: 22,361; sh: 379; makefile: 51
file content (62 lines) | stat: -rw-r--r-- 3,236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# --
# Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --

<a href="[% Env("Baselink") %]Action=AgentAppointmentCalendarOverview;Subaction=AppointmentCreate" class="CallForAction Fullsize Center">
    <span>
        <i class="fa fa-plus-square"></i>
        [% Translate("New Appointment") | html %]
    </span>
</a>

[% RenderBlockStart("ContentSmallAppointmentFilter") %]
<div class="DashboardActions">
    <ul class="AppointmentFilter Tab Actions">
        <li class="[% Data.item("Today::Selected") | html %]"><a href="#" id="Dashboard[% Data.Name | html %]Today" class="[% Data.item("Today::Selected") | html %]" title="[% Translate("Today") | html %]">[% Translate("Today") | html %] ([% Data.TodayCount | html %])</a></li>
        <li class="[% Data.item("Tomorrow::Selected") | html %]"><a href="#" id="Dashboard[% Data.Name | html %]Tomorrow" class="[% Data.item("Tomorrow::Selected") | html %]" title="[% Translate("Tomorrow") | html %]">[% Translate("Tomorrow") | html %] ([% Data.TomorrowCount | html %])</a></li>
        <li class="[% Data.item("Soon::Selected") | html %]"><a href="#" id="Dashboard[% Data.Name | html %]Soon" class="[% Data.item("Soon::Selected") | html %]" title="[% Translate("Soon") | html %] ([% Translate("5 days") | html %])">[% Translate("Soon") | html %] ([% Data.SoonCount | html %])</a></li>
    </ul>
</div>
[% RenderBlockStart("ContentSmallAppointmentFilterNavBar") %]
<span class="SpacingTop Pagination">
    [% Data.SiteNavBar %]
</span>
[% RenderBlockEnd("ContentSmallAppointmentFilterNavBar") %]

[% RenderBlockEnd("ContentSmallAppointmentFilter") %]

[% RenderBlockStart("ContentSmallTable") %]
<table class="DataTable DashboardAppointmentCalendar">
    <thead>
        <tr>
            <th style="width: 14px;"></th>
            <th style="width: 14px;">[% Translate("Start") | html %]</th>
            <th>[% Translate("Title") | html %]</th>
        </tr>
    </thead>
    <tbody>
[% RenderBlockStart("ContentSmallAppointmentRow") %]
        <tr class="MasterAction">
            <td class="Flags Center">
                <div class="Flag Small" title="[% Data.CalendarName | html %]">
                    <span style="background-color: [% Data.Color | html %]; border: 1px solid #BBB; border: 1px solid rgba(0, 0, 0, 0.25); box-sizing: border-box;"></span>
                </div>
            </td>
            <td title="[% Data.StartTimeLong | html %]">[% Data.StartTime | html %]</td>
            <td><a href="[% Env("Baselink") %]Action=AgentAppointmentCalendarOverview;AppointmentID=[% Data.AppointmentID | url %]" class="MasterActionLink" title="[% Data.Title | html %]">[% Data.Title | html %]</a></td>
        </tr>
[% RenderBlockEnd("ContentSmallAppointmentRow") %]
[% RenderBlockStart("ContentSmallAppointmentNone") %]
        <tr>
            <td colspan="3">
                [% Translate("none") | html %]
            </td>
        </tr>
[% RenderBlockEnd("ContentSmallAppointmentNone") %]
    </tbody>
</table>
[% RenderBlockEnd("ContentSmallTable") %]