Skip to content

Commit

Permalink
Change Haut to High + UI change Mail
Browse files Browse the repository at this point in the history
  • Loading branch information
Armand LEOPOLD committed Nov 3, 2021
1 parent b8fca24 commit 5bade74
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 250 deletions.
6 changes: 3 additions & 3 deletions core.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function writeRow($row): string
break;
}
$display = FALSE;
if(($_SESSION['alert-display-high'] == "True") && ($row['alert_level'] == "Haut")){
if(($_SESSION['alert-display-high'] == "True") && ($row['alert_level'] == "High")){
$row_print .= "<tr class=\"table-danger row\">";
$display = TRUE;
} elseif(($_SESSION['alert-display-warn'] == "True") && ($row['alert_level'] == "Warning")){
Expand Down Expand Up @@ -186,7 +186,7 @@ function writeRow($row): string
}

switch ($row['alert_level']) {
case 'Haut':
case 'High':
$messageClass .= '<span class="badge badge-danger">High</span>';
break;
case 'Warning':
Expand Down Expand Up @@ -228,7 +228,7 @@ function printBadge($array,$selector,$scope){
if ($indice == "alert_level") {
echo('<span style="float: right;" class="badge badge-');
switch($count) {
case 'Haut':
case 'High':
echo "danger";
break;
case 'Warning':
Expand Down
Loading

0 comments on commit 5bade74

Please sign in to comment.