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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-11 / +24 lines)
Lines 15-21 Link Here
15
$(document).ready(function() {
15
$(document).ready(function() {
16
    $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
16
    $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
17
        "aoColumnDefs": [
17
        "aoColumnDefs": [
18
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
18
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
19
        ],
19
        ],
20
        "sPaginationType": "four_button"
20
        "sPaginationType": "four_button"
21
    }));
21
    }));
Lines 189-197 $(document).ready(function() { Link Here
189
        <th>Repeatable</th>
189
        <th>Repeatable</th>
190
        <th>Mandatory</th>
190
        <th>Mandatory</th>
191
        <th>Auth value</th>
191
        <th>Auth value</th>
192
        <th>Subfields</th>
192
        <th>&nbsp;</th>
193
        <th>Edit</th>
194
        <th>Delete</th>
195
        </tr>
193
        </tr>
196
    </thead>
194
    </thead>
197
    <tbody>
195
    <tbody>
Lines 211-219 $(document).ready(function() { Link Here
211
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
209
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
212
            <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
210
            <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
213
            <td>[% loo.authorised_value %]</td>
211
            <td>[% loo.authorised_value %]</td>
214
            <td><a href="[% loo.subfield_link %]">subfields</a></td>
212
            <td>
215
            <td><a href="[% loo.edit %]">Edit</a></td>
213
                <div class="dropdown">
216
            <td><a href="[% loo.delete %]">Delete</a></td>
214
                    <a class="btn btn-mini dropdown-toggle" id="marctagactions[% loo.tagfield %]" role="button" data-toggle="dropdown" href="#">
215
                        Actions <b class="caret"></b></a>
216
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="marctagactions[% loo.tagfield %]">
217
                        <li><a href="[% loo.subfield_link %]"><i class="fa fa-eye"></i> Subfields</a></li>
218
                        <li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li>
219
                        <li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li>
220
                    </ul>
221
                </div>
222
            </td>
217
        </tr>
223
        </tr>
218
        [% END %]
224
        [% END %]
219
    [% ELSE %]
225
    [% ELSE %]
Lines 224-232 $(document).ready(function() { Link Here
224
        <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
230
        <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
225
        <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
231
        <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
226
        <td>[% loo.authorised_value %]</td>
232
        <td>[% loo.authorised_value %]</td>
227
        <td><a href="[% loo.subfield_link %]">Subfields</a></td>
233
        <td>
228
        <td><a href="[% loo.edit %]">Edit</a></td>
234
            <div class="dropdown">
229
        <td><a href="[% loo.delete %]">Delete</a></td>
235
                <a class="btn btn-mini dropdown-toggle" id="marctagactions[% loo.tagfield %]" role="button" data-toggle="dropdown" href="#">
236
                    Actions <b class="caret"></b></a>
237
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="marctagactions[% loo.tagfield %]">
238
                    <li><a href="[% loo.subfield_link %]"><i class="fa fa-eye"></i> Subfields</a></li>
239
                    <li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li>
240
                    <li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li>
241
                </ul>
242
            </div>
243
        </td>
230
    </tr>
244
    </tr>
231
    [% END %]
245
    [% END %]
232
    [% END %]
246
    [% END %]
233
- 

Return to bug 17162