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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-19 / +20 lines)
Lines 149-173 Link Here
149
                                    </p>
149
                                    </p>
150
                                [% END %]
150
                                [% END %]
151
151
152
                                <p>
152
                                [% IF modulename != 'opac' %]
153
                                    [% SET option_name = pagename _ "|" _ tablename _ "_default_save_state" %]
153
                                    <p>
154
                                    <label for="[% option_name | html %]" title="Save the column visibility, length of the table and order in session">Save configuration state on page change:</label>
154
                                        [% SET option_name = pagename _ "|" _ tablename _ "_default_save_state" %]
155
                                    [%- IF table_settings.default_save_state -%]
155
                                        <label for="[% option_name | html %]" title="Save the column visibility, length of the table and order in session">Save configuration state on page change:</label>
156
                                        <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" checked="checked" />
156
                                        [%- IF table_settings.default_save_state -%]
157
                                    [%- ELSE -%]
157
                                            <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" checked="checked" />
158
                                        <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" />
158
                                        [%- ELSE -%]
159
                                    [%- END -%]
159
                                            <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" />
160
                                </p>
160
                                        [%- END -%]
161
                                    </p>
161
162
162
                                <p>
163
                                    <p>
163
                                    [% SET option_name = pagename _ "|" _ tablename _ "_default_save_state_search" %]
164
                                        [% SET option_name = pagename _ "|" _ tablename _ "_default_save_state_search" %]
164
                                    <label for="[% option_name | html %]" title="Save the search and filtering in session">Save search state on page change:</label>
165
                                        <label for="[% option_name | html %]" title="Save the search and filtering in session">Save search state on page change:</label>
165
                                    [%- IF table_settings.default_save_state_search -%]
166
                                        [%- IF table_settings.default_save_state_search -%]
166
                                        <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" checked="checked" />
167
                                            <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" checked="checked" />
167
                                    [%- ELSE -%]
168
                                        [%- ELSE -%]
168
                                        <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" />
169
                                            <input type="checkbox" id="[% option_name | html %]" name="[% option_name | html %]" value="1" />
169
                                    [%- END -%]
170
                                        [%- END -%]
170
                                </p>
171
                                    </p>
172
                                [% END %]
171
173
172
                            </div>
174
                            </div>
173
                        [% END %]
175
                        [% END %]
174
- 

Return to bug 38304