File: AgentNavigationBar.tt

package info (click to toggle)
otrs2 5.0.16-1%2Bdeb9u6
  • links: PTS
  • area: non-free
  • in suites: stretch
  • size: 141,108 kB
  • sloc: perl: 746,356; xml: 54,469; sql: 10,505; sh: 430; makefile: 64
file content (43 lines) | stat: -rw-r--r-- 2,290 bytes parent folder | download | duplicates (2)
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
# --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

<div id="NavigationContainer">
    <ul id="Navigation" class="Draggable ARIARoleNavigation" style="visibility: hidden;">
[% RenderBlockStart("ItemArea") %]
        <li id="nav-[% Data.NameForID | html %]" class="[% Data.CSS | html %]">
            <a href="[% Env("Baselink") %][% Data.Link %]" title="[% Translate(Data.Name) | html %][% Data.AccessKeyReference | html %]" accesskey="[% Data.AccessKey | html %]" [% Data.LinkOption %]>[% Translate(Data.Name) | html %]</a>
[% RenderBlockStart("ItemAreaSub") %]
            <ul id="nav-[% Data.NameForID | html %]-container">
[% RenderBlockStart("ItemAreaSubItem") %]
                <li id="nav-[% Data.NameTop | html %]-[% Data.NameForID | html %]">
                    <a href="[% Env("Baselink") %][% Data.Link %]" title="[% Translate(Data.Description) | html %][% Data.AccessKeyReference | html %]" accesskey="[% Data.AccessKey | html %]" [% Data.LinkOption %]>[% Translate(Data.Name) | html %]</a>
                </li>
[% RenderBlockEnd("ItemAreaSubItem") %]
            </ul>
[% RenderBlockEnd("ItemAreaSub") %]
        </li>
[% RenderBlockEnd("ItemArea") %]
[% RenderBlockStart("SearchIcon") %]
        <li id="nav-search">
            <a class="Search ScreenXL ARIARoleSearch ARIAHasPopup" id="GlobalSearchNav" href="[% Env("Baselink") %]Action=AgentTicketSearch" title="[% Translate("Search") | html %]">
                <i class="fa fa-search"></i>
            </a>
            <a class="Search SmallerOrEqualScreenL ARIARoleSearch ARIAHasPopup" id="GlobalSearchNavResponsive" href="[% Env("Baselink") %]Action=AgentTicketSearch" title="[% Translate("Search") | html %]">
                [% Translate("Search") | html %]
            </a>
        </li>
[% RenderBlockEnd("SearchIcon") %]
[% RenderBlockStart("NavbarOrderItems") %]
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
Core.Agent.ReorderNavigationItems([% Data.NavbarOrderItems %]);
//]]></script>
[% END %]
[% RenderBlockEnd("NavbarOrderItems") %]
    </ul>
</div>