fix(flags): use bg-* classes

This commit is contained in:
Kazhnuz 2023-05-21 15:56:08 +02:00
parent cb638b5823
commit 7e78f6f0c2

View file

@ -2,7 +2,7 @@
if ($flags) { if ($flags) {
foreach( $flags as $flag ) { foreach( $flags as $flag ) {
$term_meta = get_option( "taxonomy_term_$flag->term_id" ); $term_meta = get_option( "taxonomy_term_$flag->term_id" );
echo "<div class='toast toast-" . $term_meta['niveau'] . "'>"; echo "<div class='toast bg-" . $term_meta['niveau'] . "'>";
echo $flag->description; echo $flag->description;
echo "</div>"; echo "</div>";
} }