mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Fixed badge styling in datatables
This commit is contained in:
parent
37a5c52907
commit
4d3ff7d7b5
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ final class AttachmentDataTable implements DataTableTypeInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<span class="badge badge-warning">
|
'<span class="badge bg-warning">
|
||||||
<i class="fas fa-exclamation-circle fa-fw"></i>%s
|
<i class="fas fa-exclamation-circle fa-fw"></i>%s
|
||||||
</span>',
|
</span>',
|
||||||
$this->translator->trans('attachment.file_not_found')
|
$this->translator->trans('attachment.file_not_found')
|
||||||
|
|
|
@ -79,7 +79,7 @@ class TagsColumn extends AbstractColumn
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$html .= sprintf(
|
$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]),
|
$this->urlGenerator->generate('part_list_tags', ['tag' => $tag]),
|
||||||
htmlspecialchars($tag)
|
htmlspecialchars($tag)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue