RoleCheckListHeaderTemplate befejezése új/módosítás
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<th>ID</th>
|
||||
<th>Role name</th>
|
||||
<th>Template name</th>
|
||||
<th>Enabled</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -25,6 +26,7 @@
|
||||
<th>ID</th>
|
||||
<th>Role name</th>
|
||||
<th>Template name</th>
|
||||
<th>Enabled</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
@@ -43,6 +45,22 @@
|
||||
{ data: "id" },
|
||||
{ data: "roleDTO.roleName" },
|
||||
{ data: "checkListTemplateHeaderDTO.description" },
|
||||
{
|
||||
data: "enabled",
|
||||
searchable: false,
|
||||
sortable: false,
|
||||
className: "text-center",
|
||||
render: function ( data, type, row ) {
|
||||
if (data === true) {
|
||||
return '<input type="checkbox" class="editor-active" disabled checked>';
|
||||
}
|
||||
if (data === false) {
|
||||
return '<input type="checkbox" class="editor-active" disabled>';
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
},
|
||||
{ data: null, render: function (data, type, row) {
|
||||
return renderActionButtons(row.id);
|
||||
}}
|
||||
@@ -53,7 +71,7 @@
|
||||
"visible": false
|
||||
},
|
||||
{
|
||||
"targets": 3,
|
||||
"targets": 4,
|
||||
"className": "text-center",
|
||||
"width": "10%"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user