Smoothness
This commit is contained in:
@@ -101,9 +101,7 @@ $isAdmin = ($userRole === 'ADMIN');
|
||||
Beheerder
|
||||
</span>
|
||||
</div>
|
||||
<p id="boardDescriptionText" class="text-xs text-slate-500 dark:text-slate-400 mt-0.5">
|
||||
Teamtaken, opdrachten & Outlook agendablokkering
|
||||
</p>
|
||||
<p id="boardDescriptionText" class="hidden text-xs text-slate-500 dark:text-slate-400 mt-0.5"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -134,10 +132,10 @@ $isAdmin = ($userRole === 'ADMIN');
|
||||
<!-- Filter: Prioriteit -->
|
||||
<div class="relative">
|
||||
<select id="filterPriority" onchange="renderCards()" class="bg-slate-50 dark:bg-[#0c0f17] border border-slate-200 dark:border-slate-800 rounded-xl px-3 py-2 text-xs text-slate-700 dark:text-slate-300 font-medium focus:ring-2 focus:ring-indigo-500/30 cursor-pointer shadow-2xs">
|
||||
<option value="ALL">Alle prioriteiten</option>
|
||||
<option value="P1">P1 — Urgent</option>
|
||||
<option value="P2">P2 — Hoog</option>
|
||||
<option value="P3">P3 — Normaal</option>
|
||||
<option value="ALL">Prioriteiten (Alle)</option>
|
||||
<option value="P1">P1 Urgent</option>
|
||||
<option value="P2">P2 Hoog</option>
|
||||
<option value="P3">P3 Normaal</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -637,7 +635,14 @@ async function loadBoardData(boardId, showLoader = true) {
|
||||
currentBoardData = data;
|
||||
|
||||
// Titels en beheerknop
|
||||
document.getElementById('boardDescriptionText').innerText = data.board.description || 'Geen toelichting';
|
||||
const descEl = document.getElementById('boardDescriptionText');
|
||||
if (data.board.description && data.board.description.trim() !== '') {
|
||||
descEl.innerText = data.board.description;
|
||||
descEl.classList.remove('hidden');
|
||||
} else {
|
||||
descEl.innerText = '';
|
||||
descEl.classList.add('hidden');
|
||||
}
|
||||
const btnManage = document.getElementById('btnManageBoard');
|
||||
const roleBadge = document.getElementById('boardRoleBadge');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user