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