Lines 53-59
$(document).ready(function() {
Link Here
|
53 |
|
53 |
|
54 |
[% IF ( else ) %] |
54 |
[% IF ( else ) %] |
55 |
<div id="toolbar" class="btn-toolbar"> |
55 |
<div id="toolbar" class="btn-toolbar"> |
56 |
<a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% frameworkcode %]"><i class="fa fa-plus"></i> New tag</a> |
56 |
<a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% frameworkcode %]"><i class="fa fa-plus"></i> New tag</a> |
57 |
</div>[% END %] |
57 |
</div>[% END %] |
58 |
|
58 |
|
59 |
<h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
59 |
<h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
Lines 122-131
$(document).ready(function() {
Link Here
|
122 |
<input type="hidden" name="op" value="delete_confirmed" /> |
122 |
<input type="hidden" name="op" value="delete_confirmed" /> |
123 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
123 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
124 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
124 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
125 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
125 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
126 |
</form> |
126 |
</form> |
127 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
127 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
128 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
128 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
129 |
</form> |
129 |
</form> |
130 |
</div> |
130 |
</div> |
131 |
[% END %] |
131 |
[% END %] |
Lines 134-140
$(document).ready(function() {
Link Here
|
134 |
|
134 |
|
135 |
<div class="dialog message"><h3>Tag deleted</h3> |
135 |
<div class="dialog message"><h3>Tag deleted</h3> |
136 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
136 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
137 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> |
137 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> |
138 |
</form></div> |
138 |
</form></div> |
139 |
[% END %] |
139 |
[% END %] |
140 |
[% IF ( framework_create ) %] |
140 |
[% IF ( framework_create ) %] |
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>Actions</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 class="actions"> |
215 |
<td><a href="[% loo.edit %]">Edit</a></td> |
213 |
<div class="dropup"> |
216 |
<td><a href="[% loo.delete %]">Delete</a></td> |
214 |
<a href="#" data-toggle="dropdown" role="button" id="subfieldactions[% loo.tagfield %]" class="btn btn-mini dropdown-toggle">Actions <b class="caret"></b></a> |
|
|
215 |
<ul aria-labelledby="subfieldactions[% loo.tagfield %]" role="menu" class="dropdown-menu pull-right"> |
216 |
<li><a href="[% loo.subfield_link %]"><i class="fa fa-list-ul"></i> Subfields</a></li> |
217 |
<li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li> |
218 |
<li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li> |
219 |
</ul> |
220 |
</div> |
221 |
</td> |
217 |
</tr> |
222 |
</tr> |
218 |
[% END %] |
223 |
[% END %] |
219 |
[% ELSE %] |
224 |
[% ELSE %] |
Lines 224-232
$(document).ready(function() {
Link Here
|
224 |
<td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td> |
229 |
<td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td> |
225 |
<td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td> |
230 |
<td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td> |
226 |
<td>[% loo.authorised_value %]</td> |
231 |
<td>[% loo.authorised_value %]</td> |
227 |
<td><a href="[% loo.subfield_link %]">Subfields</a></td> |
232 |
<td class="actions"> |
228 |
<td><a href="[% loo.edit %]">Edit</a></td> |
233 |
<div class="dropup"> |
229 |
<td><a href="[% loo.delete %]">Delete</a></td> |
234 |
<a href="#" data-toggle="dropdown" role="button" id="subfieldactions[% loo.tagfield %]" class="btn btn-mini dropdown-toggle">Actions <b class="caret"></b></a> |
|
|
235 |
<ul aria-labelledby="subfieldactions[% loo.tagfield %]" role="menu" class="dropdown-menu pull-right"> |
236 |
<li><a href="[% loo.subfield_link %]"><i class="fa fa-list-ul"></i> Subfields</a></li> |
237 |
<li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li> |
238 |
<li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li> |
239 |
</ul> |
240 |
</div> |
241 |
</td> |
230 |
</tr> |
242 |
</tr> |
231 |
[% END %] |
243 |
[% END %] |
232 |
[% END %] |
244 |
[% END %] |
233 |
- |
|
|