ux: move cache guidance message above posts list
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-02-20 09:09:26 +01:00
parent 0b78070113
commit 19b5c76664

View File

@ -1331,8 +1331,8 @@
} else {
msg = 'Podglad z cache (' + cachedPosts.length + ' postow). Kliknij <strong>Odswiez wszystkie</strong> aby pobrac pelna historie, potem <strong>Analityka</strong> dla wykresow.';
}
document.getElementById('fbPostsContainer-' + companyId).insertAdjacentHTML('beforeend',
'<div style="text-align:center;margin-top:var(--spacing-md);padding:var(--spacing-sm);color:var(--text-secondary);font-size:var(--font-size-sm);background:var(--surface);border-radius:var(--radius);border:1px dashed var(--border);">' + msg + '</div>');
document.getElementById('fbPostsContainer-' + companyId).insertAdjacentHTML('afterbegin',
'<div style="text-align:center;margin-bottom:var(--spacing-md);padding:var(--spacing-sm);color:var(--text-secondary);font-size:var(--font-size-sm);background:var(--surface);border-radius:var(--radius);border:1px dashed var(--border);">' + msg + '</div>');
}
})();
{% endfor %}