File: SettingsListCompare.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 (69 lines) | stat: -rw-r--r-- 4,079 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
63
64
65
66
67
68
69
# --
# 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.
# --

<ul class="SettingsList Compare [% IF Env("Subaction") == 'Deployment' %]Deployment[% END %]">
[% FOREACH Setting IN Data.SettingList %]
    <li>
        <div class="SettingContainer Selected">
            <div class="SettingOld">
                <div class="WidgetSimple Expanded Setting">
                    <div class="Header">
                        <h2>
                            [% Setting.PreviousName | html %]
                            <span class="Label">[% Translate("Now") | html %]</span>
                        </h2>
                    </div>
                    <div class="Content">
                        <div class="WidgetMessage Top">
                            <p class="UserModification">[% Translate("User modification") | html %]: <strong>[% IF Setting.PreviousUserModificationActive %][% Translate("enabled") | html %][% ELSE %][% Translate("disabled") | html %][% END %]</strong></p>
                            <p class="SettingState">[% Translate("Setting state") | html %]: <strong>[% IF Setting.PreviousIsValid %][% Translate("enabled") | html %][% ELSE %][% Translate("disabled") | html %][% END %]</strong></p>
                        </div>
                        <div class="SettingWrapper">
                            <div class="SettingContainer">
                                <fieldset class="TableLike FixedLabel" id="fieldset[% Setting.DefaultID | html %]">
                                    [% Setting.PreviousHTMLStrg %]
                                </fieldset>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="SettingNew">
                <div class="WidgetSimple Expanded Setting">
                    <div class="Header">
                        <h2>
                            <input type="checkbox" checked="checked" value="[% Setting.CurrentName | html %]" />
                            <a href="[% Env("Baselink") | html %]Action=AdminSystemConfiguration;Subaction=View;Setting=[% Setting.CurrentName | uri %];DeploymentID=[% Data.DeploymentID | uri %]" target="_parent">[% Setting.CurrentName | html %]</a>
                            <span class="Label">[% Translate("New") | html %]</span>
                        </h2>
                        <p class="HeaderMessage">[% Setting.Navigation | html %]</p>
                        <div class="ActionMenu Visible">
                            <div class="WidgetAction Compare">
                                <a href=""><i class="fa fa-exchange"></i></a>
                            </div>
                        </div>
                    </div>
                    <div class="Content">
                        <div class="WidgetMessage Top">
                            <p class="UserModification">[% Translate("User modification") | html %]: <strong>[% IF Setting.CurrentUserModificationActive %][% Translate("enabled") | html %][% ELSE %][% Translate("disabled") | html %][% END %]</strong></p>
                            <p class="SettingState">[% Translate("Setting state") | html %]: <strong>[% IF Setting.CurrentIsValid %][% Translate("enabled") | html %][% ELSE %][% Translate("disabled") | html %][% END %]</strong></p>
                        </div>
                        <div class="SettingWrapper">
                            <div class="SettingContainer">
                                <fieldset class="TableLike FixedLabel" id="fieldset[% Setting.DefaultID | html %]">
                                    [% Setting.HTMLStrg %]
                                </fieldset>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </li>
[% END %]
</ul>