File: DynamicActions.tt

package info (click to toggle)
otrs2 6.0.16-2
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 172,296 kB
  • sloc: perl: 919,794; xml: 69,060; sql: 22,433; sh: 418; makefile: 38
file content (33 lines) | stat: -rw-r--r-- 1,932 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
# --
# Copyright (C) 2001-2019 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.
# --

[% IF !Data.Readonly %]
<div class="Hidden WidgetSimple StickyElement [% IF Env("UserWidgetState_SystemConfiguration_Sticky") == 0 %]Collapsed[% END %]" id="UserWidgetState_SystemConfiguration_Sticky">
    <div class="Header">
        <div class="WidgetAction Toggle">
            <a href="#" title="[% Translate("Toggle this widget") | html %]"><i class="fa fa-caret-right"></i><i class="fa fa-caret-down"></i></a>
        </div>
        <h2>[% Translate("Dynamic Actions") | html %]</h2>
    </div>
    <div class="Content">
        <input type="text" autocomplete="off" id="FilterSettings" class="FilterBox" placeholder="[% Translate("Filter visible settings...") | html %]" name="FilterSettings" value="" title="[% Translate("Filter for settings") | html %]">
        <ul class="ActionList">
            <li>
                <a href="#" id="EditAll" class="CallForAction Fullsize Center"><span><i class="fa fa-edit"></i>[% Translate("Enable edit mode for all settings") | html %]</span></a>
            </li>
            <li>
                <a href="#" id="SaveAll" class="CallForAction Fullsize Center"><span><i class="fa fa-check"></i>[% Translate("Save all edited settings") | html %]</span></a>
            </li>
            <li>
                <a href="#" id="CancelAll" class="CallForAction Fullsize Center"><span><i class="fa fa-times"></i>[% Translate("Cancel editing for all settings") | html %]</span></a>
            </li>
        </ul>
        <p class="WidgetInformation"><i class="fa fa-info"></i> [% Translate("All actions from this widget apply to the visible settings on the right only.") | html %]</p>
    </div>
</div>
[% END %]