Lines 6-49
Link Here
|
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>[% FILTER collapse %] |
7 |
<title>[% FILTER collapse %] |
8 |
[% IF ( add_form ) %] |
8 |
[% IF ( add_form ) %] |
9 |
[% IF ( use_heading_flags_p ) %] |
9 |
[% IF ( heading_modify_tag_p ) %] |
10 |
[% IF ( heading_modify_tag_p ) %] |
10 |
[% tx("Modify tag '{searchfield}'", { searchfield = searchfield }) | html %] › |
11 |
[% t("Modify tag ") | html %] › |
11 |
[% END %] |
12 |
[% IF ( authtypecode ) %] |
12 |
[% IF ( heading_add_tag_p ) %] |
13 |
[% tx("{authtypecode} framework", { authtypecode = authtypecode }) | html %] |
13 |
[% t("New tag") | html %] › |
14 |
[% ELSE %] |
|
|
15 |
[% t("Default framework") | html %] |
16 |
[% END %] › |
17 |
[% END %] |
18 |
[% IF ( heading_add_tag_p ) %] |
19 |
[% t("New tag") | html %] › |
20 |
[% IF ( authtypecode ) %] |
21 |
[% tx("{authtypecode} framework", { authtypecode = authtypecode }) | html %] |
22 |
[% ELSE %] |
23 |
[% t("Default framework") | html %] |
24 |
[% END %] › |
25 |
[% END %] |
26 |
[% ELSE %] |
27 |
[% action | html %] › |
28 |
[% END %] |
14 |
[% END %] |
29 |
[% END %] |
15 |
[% END %] |
30 |
[% IF ( delete_confirm ) %] |
16 |
[% IF ( delete_confirm ) %] |
31 |
[% t("Confirm deletion") | html %] › |
17 |
[% tx("Confirm deletion of tag '{searchfield}'", { searchfield = searchfield }) | html %] › |
32 |
[% IF ( authtypecode ) %] |
|
|
33 |
[% tx("{authtypecode} framework", { authtypecode = authtypecode }) | html %] |
34 |
[% ELSE %] |
35 |
[% t("Default framework") | html %] |
36 |
[% END %] › |
37 |
[% END %] |
18 |
[% END %] |
38 |
[% IF ( delete_confirmed ) %] |
19 |
[% IF ( delete_confirmed ) %] |
39 |
[% t("Data deleted") | html %] › |
20 |
[% t("Data deleted") | html %] › |
40 |
[% IF ( authtypecode ) %] |
|
|
41 |
[% tx("{authtypecode} framework", { authtypecode = authtypecode }) | html %] |
42 |
[% ELSE %] |
43 |
[% t("Default framework") | html %] |
44 |
[% END %] › |
45 |
[% END %] |
21 |
[% END %] |
46 |
[% t("Authority MARC framework") | html %] › |
22 |
[% IF ( authtypecode ) %] |
|
|
23 |
[% tx("'{authtypecode}' framework", { authtypecode = authtypecode }) | html %] |
24 |
[% ELSE %] |
25 |
[% t("Default framework") | html %] |
26 |
[% END %] › |
27 |
[% t("Authority types") | html %] › |
47 |
[% t("Administration") | html %] › |
28 |
[% t("Administration") | html %] › |
48 |
[% t("Koha") | html %] |
29 |
[% t("Koha") | html %] |
49 |
[% END %]</title> |
30 |
[% END %]</title> |
Lines 68-74
Link Here
|
68 |
[% IF ( add_form || delete_confirm || delete_confirmed ) %] |
49 |
[% IF ( add_form || delete_confirm || delete_confirmed ) %] |
69 |
[% IF ( authtypecode ) %] |
50 |
[% IF ( authtypecode ) %] |
70 |
[% WRAPPER breadcrumb_item %] |
51 |
[% WRAPPER breadcrumb_item %] |
71 |
<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode | uri %]">[% authtypecode | html %] Framework</a> |
52 |
<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode | uri %]">[% tx("'{authtypecode}' framework", { authtypecode = authtypecode }) | html %]</a> |
72 |
[% END %] |
53 |
[% END %] |
73 |
[% ELSE %] |
54 |
[% ELSE %] |
74 |
[% WRAPPER breadcrumb_item %] |
55 |
[% WRAPPER breadcrumb_item %] |
Lines 81-87
Link Here
|
81 |
[% IF ( use_heading_flags_p ) %] |
62 |
[% IF ( use_heading_flags_p ) %] |
82 |
[% IF ( heading_modify_tag_p ) %] |
63 |
[% IF ( heading_modify_tag_p ) %] |
83 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
64 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
84 |
<span>Modify tag</span> |
65 |
[% tx("Modify tag {searchfield}", { searchfield = searchfield }) | html %] |
85 |
[% END %] |
66 |
[% END %] |
86 |
[% END %] |
67 |
[% END %] |
87 |
|
68 |
|
Lines 100-106
Link Here
|
100 |
[% ELSE %] |
81 |
[% ELSE %] |
101 |
[% IF ( delete_confirm ) %] |
82 |
[% IF ( delete_confirm ) %] |
102 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
83 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
103 |
<span>Confirm deletion</span> |
84 |
[% tx("Confirm deletion of tag '{searchfield}'", { searchfield = searchfield }) | html %] |
104 |
[% END %] |
85 |
[% END %] |
105 |
[% ELSE %] |
86 |
[% ELSE %] |
106 |
[% IF ( delete_confirmed ) %] |
87 |
[% IF ( delete_confirmed ) %] |
Lines 110-116
Link Here
|
110 |
[% ELSE %] |
91 |
[% ELSE %] |
111 |
[% IF ( authtypecode ) %] |
92 |
[% IF ( authtypecode ) %] |
112 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
93 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
113 |
[% authtypecode | html %] Framework |
94 |
[% tx("{authtypecode} framework", { authtypecode = authtypecode }) | html %] |
114 |
[% END %] |
95 |
[% END %] |
115 |
[% ELSE %] |
96 |
[% ELSE %] |
116 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
97 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
Lines 129-142
Link Here
|
129 |
<div class="col-sm-10 col-sm-push-2"> |
110 |
<div class="col-sm-10 col-sm-push-2"> |
130 |
<main> |
111 |
<main> |
131 |
|
112 |
|
132 |
<h1>Authority MARC framework for [% IF ( authtypecode ) %][% authtypecode | html %][% ELSE %]default framework[% END %]</h1> |
113 |
[% IF ( else ) %] |
|
|
114 |
<div id="toolbar" class="btn-toolbar"> |
115 |
<div class="btn-group"><a class="btn btn-default" id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&authtypecode=[% authtypecode | uri %]"><i class="fa fa-plus"></i> New tag</a></div> |
116 |
<a class="btn btn-default" id="edit_authtype" href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authtypecode | uri %]"><i class="fa fa-pencil"></i> Edit authority type</a> |
117 |
</div> |
118 |
[% END %] |
119 |
|
120 |
<h1> |
121 |
[% IF ( authtypecode ) %] |
122 |
[% tx("Authority MARC framework for '{authtypecode}'", { authtypecode = authtypecode }) | html %] |
123 |
[% ELSE %] |
124 |
[% t("Default authority MARC framework") | html %] |
125 |
[% END %] |
126 |
</h1> |
133 |
|
127 |
|
134 |
|
128 |
|
135 |
[% IF ( add_form ) %] |
129 |
[% IF ( add_form ) %] |
136 |
|
130 |
|
137 |
<h2> |
131 |
<h2> |
138 |
[% IF ( heading_modify_tag_p ) %] |
132 |
[% IF ( heading_modify_tag_p ) %] |
139 |
<span>Modify tag</span> |
133 |
[% tx("Modify tag '{searchfield}'", { searchfield = searchfield }) | html %] |
140 |
[% END %] |
134 |
[% END %] |
141 |
[% IF ( heading_add_tag_p ) %] |
135 |
[% IF ( heading_add_tag_p ) %] |
142 |
<span>New tag</span> |
136 |
<span>New tag</span> |
Lines 196-202
Link Here
|
196 |
|
190 |
|
197 |
[% IF ( delete_confirm ) %] |
191 |
[% IF ( delete_confirm ) %] |
198 |
<div class="dialog alert"> |
192 |
<div class="dialog alert"> |
199 |
<h3>Confirm deletion</h3> |
193 |
<h3>[% tx("Confirm deletion of tag '{searchfield}'", { searchfield = searchfield }) | html %]</h3> |
200 |
<form action="[% script_name | html %]" method="post"> |
194 |
<form action="[% script_name | html %]" method="post"> |
201 |
<table> |
195 |
<table> |
202 |
<tr><th scope="row">Tag: </th><td>[% searchfield | html %] [% liblibrarian | html %]</td></tr> |
196 |
<tr><th scope="row">Tag: </th><td>[% searchfield | html %] [% liblibrarian | html %]</td></tr> |
Lines 243-266
Link Here
|
243 |
|
237 |
|
244 |
[% IF ( else ) %] |
238 |
[% IF ( else ) %] |
245 |
|
239 |
|
246 |
<div id="toolbar" class="btn-toolbar"> |
|
|
247 |
<div class="btn-group"><a class="btn btn-default" id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&authtypecode=[% authtypecode | uri %]"><i class="fa fa-plus"></i> New tag</a></div> |
248 |
</div> |
249 |
|
250 |
<h2>Select an authority framework</h2> |
251 |
<form action="[% script_name | html %]" method="post"> |
240 |
<form action="[% script_name | html %]" method="post"> |
252 |
<select name="authtypecode"> |
241 |
<fieldset> |
253 |
[% FOREACH authority_type IN authority_types%] |
242 |
<label for="searchfield"><strong>Search for tag:</strong></label> |
254 |
[% IF authority_type.authtypecode == authtypecode%] |
243 |
<input type="text" id="searchfield" name="searchfield" size="4" value="[% searchfield | html %]" /> |
255 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
244 |
<label for="authtypecode"><strong>In framework:</strong> </label> |
256 |
[% ELSE %] |
245 |
<select id="authtypecode" name="authtypecode"> |
257 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
246 |
[% FOREACH authority_type IN authority_types%] |
258 |
[% END %] |
247 |
[% IF authority_type.authtypecode == authtypecode%] |
259 |
[% END %] |
248 |
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option> |
260 |
</select> |
249 |
[% ELSE %] |
261 |
<input type="text" name="searchfield" value="[% searchfield | html %]" /> |
250 |
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option> |
262 |
<input type="submit" value="OK" class="btn btn-primary" /> |
251 |
[% END %] |
263 |
</form><br /> |
252 |
[% END %] |
|
|
253 |
</select> |
254 |
<input type="submit" class="btn btn-primary" value="Search" /> |
255 |
</fieldset> |
256 |
</form> |
257 |
|
264 |
<div id="pagertable_authtagstructure"> |
258 |
<div id="pagertable_authtagstructure"> |
265 |
</div> |
259 |
</div> |
266 |
|
260 |
|