File: AdminProcessManagementProcessPrint.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 (186 lines) | stat: -rw-r--r-- 8,209 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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# --
# 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 class="LayoutPopup ARIARoleMain">
    <div class="Header">
        <h1>
             [% Translate("Print process information") | html %]
        </h1>
        <p>
            <a class="ProcessPrint" href="#">[% Translate("Print") | html %]</a>
            [% Translate("or") | html %]
            <a class="CancelClosePopup" href="#">[% Translate("cancel & close") | html %]</a>
        </p>
    </div>
    <div class="Content">

        <div class="PrintContainer">

        [% RenderBlockStart("Logo") %]
            <img src="[% Data.LogoURL | html %]" class="Logo" />
        [% RenderBlockEnd("Logo") %]
            <h1>[% Data.Name | html %]</h1>
            <h2>
                [% Translate("State") | html %]: [% Data.State | html %]<br />
                [% Translate("Start Activity") | html %]: [% Data.StartActivity | html %]<br />
                [% Translate("Description") | html %]: [% Data.Description | html %]
            </h2>

            <ul id="Path">
        [% RenderBlockStart("PathItem") %]
                <li><span>[% Data.ActivityStart | html %]</span> <strong><em>[% Data.Transition | html %] [% Data.TransitionActions | html %]</em><span></span></strong> <span>[% Data.ActivityEnd | html %]</span></li>
        [% RenderBlockEnd("PathItem") %]
            </ul>

            <h3>[% Translate("Activities") | html %]</h3>
            <ul class="ItemData">
        [% RenderBlockStart("ActivityRow") %]
                <li>
                    <h4>
                        [% Data.Name | html %] ([% Data.EntityID | html %])
                        <span>[% Translate("Contains %s dialog(s)", Data.DialogCount) | html %]</span>
                    </h4>
        [% RenderBlockStart("AssignedDialogs") %]
                    <strong>[% Translate("Assigned dialogs") | html %]:</strong>
                    <ol>
        [% RenderBlockStart("AssignedDialogsRow") %]
                        <li>[% Data.Name | html %] ([% Data.EntityID | html %])</li>
        [% RenderBlockEnd("AssignedDialogsRow") %]
                    </ol>
        [% RenderBlockEnd("AssignedDialogs") %]
                </li>
        [% RenderBlockEnd("ActivityRow") %]
        [% RenderBlockStart("ActivityRowEmpty") %]
                <li>
                    [% Translate("Activities are not being used in this process.") | html %]
                </li>
        [% RenderBlockEnd("ActivityRowEmpty") %]
            </ul>

            <h3>[% Translate("Activity Dialogs") | html %]</h3>
            <ul class="ItemData">
        [% RenderBlockStart("ActivityDialogRow") %]
                <li>
                    <h4>
                        [% Data.Name | html %] ([% Data.EntityID | html %])
                        <span>[% Translate("Available in") | html %] [% Data.ShownIn | html %]</span>
                    </h4>
                    <ul class="Attributes">
        [% RenderBlockStart("ElementAttribute") %]
                        <li><strong>[% Data.Key | html %]</strong>: [% Data.Value | html %]</li>
        [% RenderBlockEnd("ElementAttribute") %]
                    </ul>
        [% RenderBlockStart("AssignedFields") %]
                    <strong>[% Translate("Assigned fields") | html %]:</strong>
                    <ol>
        [% RenderBlockStart("AssignedFieldsRow") %]
                        <li>
                            [% Data.Name | html %]
        [% RenderBlockStart("AssignedFieldsRowValue") %]
                            <p><strong>[% Data.Key | html %]</strong>: [% Data.Value | html %]</p>
        [% RenderBlockEnd("AssignedFieldsRowValue") %]
                        </li>
        [% RenderBlockEnd("AssignedFieldsRow") %]
                    </ol>
        [% RenderBlockEnd("AssignedFields") %]
                </li>
        [% RenderBlockEnd("ActivityDialogRow") %]
        [% RenderBlockStart("ActivityDialogRowEmpty") %]
                <li>
                    [% Translate("Activity dialogs are not being used in this process.") | html %]
                </li>
        [% RenderBlockEnd("ActivityDialogRowEmpty") %]
            </ul>

            <h3>[% Translate("Transitions") | html %]</h3>
            <ul class="ItemData">
        [% RenderBlockStart("TransitionRow") %]
                <li>
                    <h4>
                        [% Data.Name | html %] ([% Data.EntityID | html %])
                        <span>[% Translate("Condition linking") | html %]: [% Data.ConditionLinking | html %]</span>
                    </h4>
        [% RenderBlockStart("Condition") %]
                    <strong>[% Translate("Conditions") | html %]:</strong>
                    <ol>
        [% RenderBlockStart("ConditionRow") %]
                        <li>
                            [% Translate("Condition") | html %]
        [% RenderBlockStart("ConditionRowValue") %]
                            <p><strong>[% Data.Key | html %]</strong>: [% Data.Value | html %]</p>
        [% RenderBlockEnd("ConditionRowValue") %]
        [% RenderBlockStart("ConditionRowSub") %]
                            <ul>
                                <li>
                                    <h5>[% Data.NameSub | html %]:</h5>
        [% RenderBlockStart("ConditionRowSubValue") %]
                                    <p class="sub"><strong>[% Data.Key | html %]</strong>: [% Data.Value | html %]</p>
        [% RenderBlockEnd("ConditionRowSubValue") %]
        [% RenderBlockStart("ConditionRowSubSub") %]
                                    <ul>
                                        <li>
                                            <h6>[% Data.NameSubSub | html %]</h6>
                                        </li>
        [% RenderBlockStart("ConditionRowSubSubValue") %]
                                        <li><strong>[% Data.Key | html %]</strong>: [% Data.Value | html %]</li>
        [% RenderBlockEnd("ConditionRowSubSubValue") %]
                                    </ul>
        [% RenderBlockEnd("ConditionRowSubSub") %]
                                </li>
                            </ul>
        [% RenderBlockEnd("ConditionRowSub") %]
                        </li>
        [% RenderBlockEnd("ConditionRow") %]
                    </ol>
        [% RenderBlockEnd("Condition") %]

                </li>
        [% RenderBlockEnd("TransitionRow") %]
        [% RenderBlockStart("TransitionRowEmpty") %]
                <li>
                    [% Translate("Transitions are not being used in this process.") | html %]
                </li>
        [% RenderBlockEnd("TransitionRowEmpty") %]
            </ul>

            <h3>[% Translate("Transition Actions") | html %]</h3>
            <ul class="ItemData">
        [% RenderBlockStart("TransitionActionRow") %]
                <li>
                    <h4>
                        [% Data.Name | html %] ([% Data.EntityID | html %])
                        <span>[% Translate("Module name") | html %]: [% Data.Module | html %]</span>
                    </h4>
        [% RenderBlockStart("Config") %]
                    <strong>[% Translate("Configuration") | html %]:</strong>
                    <ol>
        [% RenderBlockStart("ConfigRow") %]
                        <li>[% Data.Name | html %]: [% Data.Value | html %]</li>
        [% RenderBlockEnd("ConfigRow") %]
                    </ol>
        [% RenderBlockEnd("Config") %]
                </li>
        [% RenderBlockEnd("TransitionActionRow") %]
        [% RenderBlockStart("TransitionActionRowEmpty") %]
                <li>
                    [% Translate("Transition actions are not being used in this process.") | html %]
                </li>
        [% RenderBlockEnd("TransitionActionRowEmpty") %]
            </ul>

        </div>
    </div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
$('.ProcessPrint').on('click', function() {
    window.print();
    return false;
});
//]]></script>
[% END %]