View | Details | Raw Unified | Return to bug 24982
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-23 / +35 lines)
Lines 18-25 Link Here
18
<style>
18
<style>
19
fieldset.rows label.viewlog {
19
fieldset.rows label.viewlog {
20
    float: none;
20
    float: none;
21
    padding-left: 15px;
22
    font-weight: normal;
21
    font-weight: normal;
22
    margin: 0;
23
    min-width: 9em;
24
    padding: .5em;
25
    text-align: left;
26
    white-space: nowrap;
27
    width: auto;
28
}
29
.log_modules {
30
    display: flex;
31
    flex-wrap: wrap;
23
}
32
}
24
</style>
33
</style>
25
</head>
34
</head>
Lines 108-144 fieldset.rows label.viewlog { Link Here
108
                            [% UNLESS src == "circ" %]
117
                            [% UNLESS src == "circ" %]
109
                                <li>
118
                                <li>
110
                                    <label for="modules">Modules:</label>
119
                                    <label for="modules">Modules:</label>
111
                                    [% UNLESS modules %]
120
                                    <div class="log_modules">
112
                                        <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"></label>
121
                                        [% UNLESS modules %]
113
                                    [% ELSE %]
122
                                            <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"></label>
114
                                        <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value=""></label>
115
                                    [% END %]
116
                                    [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
117
                                        [% IF modules.grep(modx).size %]
118
                                            <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked"></label>
119
                                        [% ELSE %]
123
                                        [% ELSE %]
120
                                            <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]"></label>
124
                                            <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value=""></label>
121
                                        [% END %]
125
                                        [% END %]
122
                                    [% END %]
126
                                        [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
127
                                            [% IF modules.grep(modx).size %]
128
                                                <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked"></label>
129
                                            [% ELSE %]
130
                                                <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]"></label>
131
                                            [% END %]
132
                                        [% END %]
133
                                    </div>
123
                                </li>
134
                                </li>
124
                            [% ELSE %]
135
                            [% ELSE %]
125
                                <input type="hidden" name="modules" value="MEMBERS" />
136
                                <input type="hidden" name="modules" value="MEMBERS" />
126
                            [% END %]
137
                            [% END %]
127
                            <li>
138
                            <li>
128
                                <label for="actions">Actions:</label>
139
                                <label for="actions">Actions:</label>
129
                                [% UNLESS actions %]
140
                                <div class="log_modules">
130
                                    <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value="" checked="checked"></label>
141
                                    [% UNLESS actions %]
131
                                [% ELSE %]
142
                                        <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value="" checked="checked"></label>
132
                                    <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value=""></label>
133
                                [% END %]
134
135
                                [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
136
                                    [% IF actions.grep(actx).size %]
137
                                        <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]" checked="checked"></label>
138
                                    [% ELSE %]
143
                                    [% ELSE %]
139
                                        <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]"></label>
144
                                        <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value=""></label>
140
                                    [% END %]
145
                                    [% END %]
141
                                [% END %]
146
147
                                    [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
148
                                        [% IF actions.grep(actx).size %]
149
                                            <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]" checked="checked"></label>
150
                                        [% ELSE %]
151
                                            <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]"></label>
152
                                        [% END %]
153
                                    [% END %]
154
                                </div>
142
                            </li>
155
                            </li>
143
                            <li>
156
                            <li>
144
                                [% IF src == 'circ' %]
157
                                [% IF src == 'circ' %]
145
- 

Return to bug 24982