Lines 18-28
Link Here
|
18 |
</title> |
18 |
</title> |
19 |
[% INCLUDE 'doc-head-close.inc' %] |
19 |
[% INCLUDE 'doc-head-close.inc' %] |
20 |
[% INCLUDE 'calendar.inc' %] |
20 |
[% INCLUDE 'calendar.inc' %] |
21 |
[% IF ( op == 'show' ) %] |
21 |
[% IF ( op == 'show' || op_else ) %] |
22 |
<script type="text/javascript"> |
22 |
<script type="text/javascript"> |
23 |
// <![CDATA[ |
23 |
// <![CDATA[ |
24 |
$(document).ready(function(){ |
24 |
$(document).ready(function(){ |
25 |
$("#deletesuggestion").on("click",function(){ |
25 |
$(".deletesuggestion").on("click",function(){ |
26 |
return confirm(_("Are you sure you want to delete this suggestion?")); |
26 |
return confirm(_("Are you sure you want to delete this suggestion?")); |
27 |
}); |
27 |
}); |
28 |
}); |
28 |
}); |
Lines 53-59
$(document).ready(function() {
Link Here
|
53 |
}); |
53 |
}); |
54 |
$(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, { |
54 |
$(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, { |
55 |
"aoColumnDefs": [ |
55 |
"aoColumnDefs": [ |
56 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
56 |
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, |
57 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
57 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
58 |
], |
58 |
], |
59 |
"sPaginationType": "four_button" |
59 |
"sPaginationType": "four_button" |
Lines 204-210
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
204 |
|
204 |
|
205 |
<div id="toolbar" class="btn-toolbar"> |
205 |
<div id="toolbar" class="btn-toolbar"> |
206 |
<a class="btn btn-default btn-sm" id="editsuggestion" href="suggestion.pl?op=edit&suggestionid=[% suggestionid %]"><i class="fa fa-pencil"></i> Edit</a> |
206 |
<a class="btn btn-default btn-sm" id="editsuggestion" href="suggestion.pl?op=edit&suggestionid=[% suggestionid %]"><i class="fa fa-pencil"></i> Edit</a> |
207 |
<a class="btn btn-default btn-sm" id="deletesuggestion" href="suggestion.pl?op=delete&edit_field=[% suggestionid %]"><i class="fa fa-trash"></i> Delete</a> |
207 |
<a class="btn btn-default btn-sm deletesuggestion" href="suggestion.pl?op=delete&edit_field=[% suggestionid %]"><i class="fa fa-trash"></i> Delete</a> |
208 |
</div> |
208 |
</div> |
209 |
|
209 |
|
210 |
<fieldset class="rows"> |
210 |
<fieldset class="rows"> |
Lines 582-595
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
582 |
<p><a id="CheckAll[% suggestion.suggestiontype %]" href="#">Check all</a> | <a id="UncheckAll[% suggestion.suggestiontype %]" href="#">Uncheck all</a></p> |
582 |
<p><a id="CheckAll[% suggestion.suggestiontype %]" href="#">Check all</a> | <a id="UncheckAll[% suggestion.suggestiontype %]" href="#">Uncheck all</a></p> |
583 |
<table id="[% suggestion.suggestiontype %]t" class="sorted"> |
583 |
<table id="[% suggestion.suggestiontype %]t" class="sorted"> |
584 |
<thead> |
584 |
<thead> |
585 |
<tr><th> </th> |
585 |
<tr> |
586 |
<th>No.</th> |
586 |
<th class="NoSort"> </th> |
587 |
<th class="anti-the">Suggestion</th> |
587 |
<th class="anti-the">Suggestion</th> |
588 |
<th>Suggested by - on</th> |
588 |
<th>Suggested by - on</th> |
589 |
<th>Managed by - on</th> |
589 |
<th>Managed by - on</th> |
590 |
<th>Library</th> |
590 |
<th>Library</th> |
591 |
<th>Fund</th> |
591 |
<th>Fund</th> |
592 |
<th>Status</th></tr> |
592 |
<th>Status</th> |
|
|
593 |
<th class="NoSort"> </th> |
594 |
</tr> |
593 |
</thead> |
595 |
</thead> |
594 |
<tbody> |
596 |
<tbody> |
595 |
[% FOREACH suggestions_loo IN suggestion.suggestions_loop %] |
597 |
[% FOREACH suggestions_loo IN suggestion.suggestions_loop %] |
Lines 598-609
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
598 |
<input type="checkbox" name="edit_field" value="[% suggestions_loo.suggestionid %]" /> |
600 |
<input type="checkbox" name="edit_field" value="[% suggestions_loo.suggestionid %]" /> |
599 |
</td> |
601 |
</td> |
600 |
<td> |
602 |
<td> |
601 |
[% suggestions_loo.suggestionid %] |
|
|
602 |
</td> |
603 |
<td> |
604 |
<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=show" title="suggestion" > |
603 |
<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=show" title="suggestion" > |
605 |
[% suggestions_loo.title |html %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %]</a> |
604 |
[% suggestions_loo.title |html %][% IF ( suggestions_loo.author ) %], by [% suggestions_loo.author %][% END %]</a> |
606 |
[<a href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=edit" title="suggestion" >edit</a>] |
|
|
607 |
<br /> |
605 |
<br /> |
608 |
[% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate |html %] [% END %] |
606 |
[% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate |html %] [% END %] |
609 |
[% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc |html %]</i> [% END %] |
607 |
[% IF ( suggestions_loo.volumedesc ) %]; Volume:<i>[% suggestions_loo.volumedesc |html %]</i> [% END %] |
Lines 644-649
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
644 |
<br />([% suggestions_loo.reason %]) |
642 |
<br />([% suggestions_loo.reason %]) |
645 |
[% END %] |
643 |
[% END %] |
646 |
</td> |
644 |
</td> |
|
|
645 |
<td class="actions"> |
646 |
<a class="btn btn-xs btn-default" href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid %]&op=edit"><i class="fa fa-pencil"></i> Edit</a> |
647 |
<a class="btn btn-default btn-xs deletesuggestion" href="suggestion.pl?op=delete&edit_field=[% suggestions_loo.suggestionid %]"><i class="fa fa-trash"></i> Delete</a> |
648 |
</td> |
647 |
</tr> |
649 |
</tr> |
648 |
[% END %]</tbody> |
650 |
[% END %]</tbody> |
649 |
</table> <fieldset> |
651 |
</table> <fieldset> |
650 |
- |
|
|