Fixed badge styling in datatables

This commit is contained in:
Jan Böhmer 2022-08-21 20:39:18 +02:00
parent 37a5c52907
commit 4d3ff7d7b5
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ final class AttachmentDataTable implements DataTableTypeInterface
}
return sprintf(
'<span class="badge badge-warning">
'<span class="badge bg-warning">
<i class="fas fa-exclamation-circle fa-fw"></i>%s
</span>',
$this->translator->trans('attachment.file_not_found')

View file

@ -79,7 +79,7 @@ class TagsColumn extends AbstractColumn
break;
}
$html .= sprintf(
'<a href="%s" class="badge badge-primary badge-table">%s</a>',
'<a href="%s" class="badge bg-primary badge-table">%s</a>',
$this->urlGenerator->generate('part_list_tags', ['tag' => $tag]),
htmlspecialchars($tag)
);