Lines 401-412
Link Here
|
401 |
<thead> |
401 |
<thead> |
402 |
<tr> |
402 |
<tr> |
403 |
[% IF ( loggedinusername ) %]<th> </th>[% END %] |
403 |
[% IF ( loggedinusername ) %]<th> </th>[% END %] |
404 |
<th>Summary</th> |
404 |
<th class="all">Summary</th> |
405 |
<th>Suggested on</th> |
405 |
<th>Suggested on</th> |
406 |
<th>Note</th> |
406 |
<th>Note</th> |
407 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %] |
407 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %] |
408 |
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %] |
408 |
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %] |
409 |
<th>Status</th> |
409 |
<th>Status</th> |
|
|
410 |
<th></th> |
410 |
</tr> |
411 |
</tr> |
411 |
</thead> |
412 |
</thead> |
412 |
<tbody> |
413 |
<tbody> |
Lines 475-480
Link Here
|
475 |
[% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS, 1 ) | html %] [% END %] |
476 |
[% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS, 1 ) | html %] [% END %] |
476 |
[% IF ( suggestion.reason ) %]([% suggestion.reason | html %])[% END %] |
477 |
[% IF ( suggestion.reason ) %]([% suggestion.reason | html %])[% END %] |
477 |
</td> |
478 |
</td> |
|
|
479 |
<td></td> |
478 |
</tr> |
480 |
</tr> |
479 |
[% END # / FOREACH suggestions %] |
481 |
[% END # / FOREACH suggestions %] |
480 |
</tbody> |
482 |
</tbody> |
Lines 565-571
Link Here
|
565 |
"order": [[ 1, "asc" ]], |
567 |
"order": [[ 1, "asc" ]], |
566 |
"autoWidth": false, |
568 |
"autoWidth": false, |
567 |
"columnDefs": [ |
569 |
"columnDefs": [ |
568 |
[% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %] |
570 |
[% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %], |
|
|
571 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 }, |
572 |
{ responsivePriority: 1, targets: 1 } |
569 |
], |
573 |
], |
570 |
"columns": [ |
574 |
"columns": [ |
571 |
[% IF ( loggedinusername ) %]null,[% END %] |
575 |
[% IF ( loggedinusername ) %]null,[% END %] |
Lines 574-581
Link Here
|
574 |
null, |
578 |
null, |
575 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %] |
579 |
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %] |
576 |
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %] |
580 |
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %] |
|
|
581 |
null, |
577 |
null |
582 |
null |
578 |
] |
583 |
], |
|
|
584 |
"responsive": { |
585 |
details: { |
586 |
type: 'column', |
587 |
target: -1 |
588 |
} |
589 |
}, |
579 |
})); |
590 |
})); |
580 |
[% IF ( loggedinusername ) %]$("span.clearall").html("<a id=\"CheckNone\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Clear all")+"<\/a>"); |
591 |
[% IF ( loggedinusername ) %]$("span.clearall").html("<a id=\"CheckNone\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Clear all")+"<\/a>"); |
581 |
$("span.checkall").html("<a id=\"CheckAll\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Select all")+"<\/a>"); |
592 |
$("span.checkall").html("<a id=\"CheckAll\" class=\"btn btn-link btn-sm\" href=\"#\">"+_("Select all")+"<\/a>"); |