Lines 352-358
Link Here
|
352 |
<th scope="col" class="title-string">Start date</th> |
352 |
<th scope="col" class="title-string">Start date</th> |
353 |
<th scope="col" class="title-string">End date</th> |
353 |
<th scope="col" class="title-string">End date</th> |
354 |
[% IF CAN_user_acquisition_contracts_manage %] |
354 |
[% IF CAN_user_acquisition_contracts_manage %] |
355 |
<th scope="col">Actions</th> |
355 |
<th scope="col" class="NoSort">Actions</th> |
356 |
[% END %] |
356 |
[% END %] |
357 |
</tr> |
357 |
</tr> |
358 |
</thead> |
358 |
</thead> |
Lines 430-440
Link Here
|
430 |
$(document).ready(function() { |
430 |
$(document).ready(function() { |
431 |
var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { |
431 |
var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { |
432 |
"aoColumnDefs": [ |
432 |
"aoColumnDefs": [ |
433 |
[% IF CAN_user_acquisition_contracts_manage %] |
433 |
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, |
434 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
|
|
435 |
[% ELSE %] |
436 |
{ "bSortable": false, "bSearchable": false }, |
437 |
[% END %] |
438 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
434 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
439 |
], |
435 |
], |
440 |
'sDom': 't' |
436 |
'sDom': 't' |
441 |
- |
|
|