We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05aeb0e commit eddd451Copy full SHA for eddd451
build/media_source/plg_quickicon_privacycheck/js/privacycheck.es6.js
@@ -25,7 +25,12 @@
25
26
if (request.data.number_urgent_requests) {
27
// Quickicon on dashboard shows message
28
- link.textContent = `${text.REQUESTFOUND} ${request.data.number_urgent_requests}`;
+ const countBadge = document.createElement('span');
29
+ countBadge.classList.add('badge', 'text-dark', 'bg-light');
30
+ countBadge.textContent = request.data.number_urgent_requests;
31
+ link.textContent = `${text.REQUESTFOUND} `;
32
+ link.appendChild(countBadge);
33
+
34
// Quickicon becomes red
35
quickicon.classList.add('danger');
36
0 commit comments