İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if (!function_exists('levelColor')) {
|
||||
function levelColor($level) {
|
||||
$colors = [
|
||||
1 => 'success',
|
||||
2 => 'primary',
|
||||
3 => 'warning',
|
||||
4 => 'info'
|
||||
];
|
||||
return $colors[$level] ?? 'secondary';
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user