release v1.1
This commit is contained in:
+9
-12
@@ -4449,7 +4449,6 @@ async function showToolkitDetailsModal(toolkitId) {
|
||||
<th>Инструмент</th>
|
||||
<th>Категория</th>
|
||||
<th>Комментарий</th>
|
||||
${accessData.tools_edit ? '<th width="50">Действия</th>' : ''}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -4462,25 +4461,23 @@ async function showToolkitDetailsModal(toolkitId) {
|
||||
<td>
|
||||
<strong>${compatibleToolkit?.title || 'Неизвестный инструмент'}</strong>
|
||||
${compatibleToolkit ? `
|
||||
<button class="btn btn-sm btn-link p-0 ms-1 view-toolkit-btn"
|
||||
<button class="btn btn-sm btn-outline-primary view-toolkit-btn quick-actions"
|
||||
data-toolkit-id="${compatibleToolkitId}"
|
||||
title="Просмотреть детали">
|
||||
<i class="bi bi-eye"></i>
|
||||
</button>
|
||||
` : ''}
|
||||
${accessData.tools_edit ? `
|
||||
<button class="btn btn-sm btn-outline-danger delete-compatibility-btn quick-actions"
|
||||
data-record-id="${recordId}"
|
||||
data-toolkit-id="${compatibleToolkitId}"
|
||||
title="Удалить совместимость">
|
||||
<i class="bi bi-trash"></i>
|
||||
</button>
|
||||
` : ''}
|
||||
</td>
|
||||
<td>${compatibleCategory?.title || 'Неизвестно'}</td>
|
||||
<td><small class="text-muted">${compatibleToolkit?.comment_text || 'Нет комментария'}</small></td>
|
||||
${accessData.tools_edit ? `
|
||||
<td>
|
||||
<button class="btn btn-sm btn-outline-danger delete-compatibility-btn"
|
||||
data-record-id="${recordId}"
|
||||
data-toolkit-id="${compatibleToolkitId}"
|
||||
title="Удалить совместимость">
|
||||
<i class="bi bi-trash"></i>
|
||||
</button>
|
||||
</td>
|
||||
` : ''}
|
||||
</tr>
|
||||
`;
|
||||
}).join('')}
|
||||
|
||||
Reference in New Issue
Block a user