|
Lines 12-18
Link Here
|
| 12 |
$(document).ready(function() { |
12 |
$(document).ready(function() { |
| 13 |
$("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
$("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 14 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
| 15 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
15 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
| 16 |
], |
16 |
], |
| 17 |
"sPaginationType": "four_button" |
17 |
"sPaginationType": "four_button" |
| 18 |
})); |
18 |
})); |
|
Lines 211-220
Link Here
|
| 211 |
<th>Repeatable</th> |
211 |
<th>Repeatable</th> |
| 212 |
<th>Mandatory</th> |
212 |
<th>Mandatory</th> |
| 213 |
<th>Authorized<br />value</th> |
213 |
<th>Authorized<br />value</th> |
| 214 |
<th>Subfields</th> |
214 |
<th> </th> |
| 215 |
<th>Edit</th> |
215 |
</tr> |
| 216 |
<th>Delete</th> |
|
|
| 217 |
</tr> |
| 218 |
</thead> |
216 |
</thead> |
| 219 |
<tbody> |
217 |
<tbody> |
| 220 |
[% FOREACH loo IN loop %] |
218 |
[% FOREACH loo IN loop %] |
|
Lines 224-232
Link Here
|
| 224 |
<td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td> |
222 |
<td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td> |
| 225 |
<td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td> |
223 |
<td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td> |
| 226 |
<td>[% loo.authorised_value %]</td> |
224 |
<td>[% loo.authorised_value %]</td> |
| 227 |
<td><a href="[% loo.subfield_link %]" class="button">subfields</a></td> |
225 |
<td> |
| 228 |
<td><a href="[% loo.edit %]">Edit</a></td> |
226 |
<div class="dropdown"> |
| 229 |
<td><a href="[% loo.delete %]">Delete</a></td> |
227 |
<a class="btn btn-mini dropdown-toggle" id="authtagactions[% loo.tagfield %]" role="button" data-toggle="dropdown" href="#"> |
|
|
228 |
Actions <b class="caret"></b></a> |
| 229 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtagactions[% loo.tagfield %]"> |
| 230 |
<li><a href="[% loo.subfield_link %]"><i class="fa fa-eye"></i> Subfields</a></li> |
| 231 |
<li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li> |
| 232 |
<li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li> |
| 233 |
</ul> |
| 234 |
</div> |
| 235 |
</td> |
| 230 |
</tr> |
236 |
</tr> |
| 231 |
[% END %] |
237 |
[% END %] |
| 232 |
</tbody> |
238 |
</tbody> |
| 233 |
- |
|
|