feat(requests): текст темы в списке заявлений теперь ссылка на страницу деталей
This commit is contained in:
parent
662273ac06
commit
f6a1315d76
@ -413,7 +413,7 @@ export function initRequestListHandler(options) {
|
||||
actionButtons = `
|
||||
<a href="${approverUrl}" class="text-decoration-none d-block">
|
||||
<span class="badge ${req.status === "approved" ? "text-bg-success" : req.status === "rejected" ? "text-bg-danger" : "text-bg-secondary"}" style="word-break: break-word; white-space: normal;">
|
||||
${approverLabel}: ${escapeHtml(approverName)}
|
||||
${escapeHtml(approverName)}
|
||||
</span>
|
||||
</a>
|
||||
`;
|
||||
@ -466,7 +466,9 @@ export function initRequestListHandler(options) {
|
||||
<!-- Заголовок и тип -->
|
||||
<div class="req-cell req-cell-title">
|
||||
<div class="req-cell-content">
|
||||
<strong>${escapeHtml(req.title || "Без заголовка")}</strong>
|
||||
<a href="/requests/${req.id}/" class="text-decoration-none">
|
||||
<strong>${escapeHtml(req.title || "Без заголовка")}</strong>
|
||||
</a>
|
||||
${
|
||||
type
|
||||
? `<span class="badge text-bg-light ms-1">${typeText}</span>`
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<h6 class="mb-0 text-secondary">Создано</h6>
|
||||
</div>
|
||||
<div class="req-cell req-cell-actions">
|
||||
<h6 class="mb-0 text-secondary">Действия</h6>
|
||||
<h6 class="mb-0 text-secondary">Согласование</h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user