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

(-)a/admin/auth_tag_structure.pl (-3 lines)
Lines 197-205 if ($op eq 'add_form') { Link Here
197
        $row_data{repeatable}       = $results->[$i]{'repeatable'};
197
        $row_data{repeatable}       = $results->[$i]{'repeatable'};
198
        $row_data{mandatory}        = $results->[$i]{'mandatory'};
198
        $row_data{mandatory}        = $results->[$i]{'mandatory'};
199
        $row_data{authorised_value} = $results->[$i]{'authorised_value'};
199
        $row_data{authorised_value} = $results->[$i]{'authorised_value'};
200
        $row_data{subfield_link}    = "auth_subfields_structure.pl?tagfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode;
201
        $row_data{edit}             = "$script_name?op=add_form&searchfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode;
202
        $row_data{delete}           = "$script_name?op=delete_confirm&searchfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode;
203
        push(@loop_data, \%row_data);
200
        push(@loop_data, \%row_data);
204
    }
201
    }
205
    $template->param(loop => \@loop_data,
202
    $template->param(loop => \@loop_data,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-2 / +1 lines)
Lines 170-176 Link Here
170
[% IF ( else ) %]
170
[% IF ( else ) %]
171
171
172
<div id="toolbar" class="btn-toolbar">
172
<div id="toolbar" class="btn-toolbar">
173
    <div class="btn-group"><a class="btn btn-default btn-sm" id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&amp;authtypecode=[% authtypecode | html %]"><i class="fa fa-plus"></i> New tag</a></div>
173
    <div class="btn-group"><a class="btn btn-default btn-sm" id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&amp;authtypecode=[% authtypecode | uri %]"><i class="fa fa-plus"></i> New tag</a></div>
174
</div>
174
</div>
175
175
176
<h2>Select an authority framework</h2>
176
<h2>Select an authority framework</h2>
177
- 

Return to bug 21706