mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update the dashboard_label_enabled defaults
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
$dashboard_content = '';
|
||||
$dashboard_content_text_align = '';
|
||||
$dashboard_content_details = '';
|
||||
$dashboard_label_enabled = $row["dashboard_enabled"] ?? 'true';
|
||||
$dashboard_label_enabled = 'true';
|
||||
$dashboard_label_text_color = '';
|
||||
$dashboard_label_background_color = '';
|
||||
$dashboard_number_text_color = '';
|
||||
@@ -64,7 +64,7 @@
|
||||
$dashboard_details_state = '';
|
||||
$dashboard_parent_uuid = '';
|
||||
$dashboard_order = '';
|
||||
$dashboard_enabled = $row["dashboard_enabled"] ?? 'true';
|
||||
$dashboard_enabled = 'true';
|
||||
$dashboard_description = '';
|
||||
$dashboard_uuid = '';
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
$dashboard_content_details = $_POST["dashboard_content_details"] ?? '';
|
||||
$dashboard_groups = $_POST["dashboard_groups"] ?? '';
|
||||
$dashboard_chart_type = $_POST["dashboard_chart_type"] ?? '';
|
||||
$dashboard_label_enabled = $_POST["dashboard_label_enabled"] ?? '';
|
||||
$dashboard_label_enabled = $_POST["dashboard_label_enabled"] ?? 'false';
|
||||
$dashboard_label_text_color = $_POST["dashboard_label_text_color"] ?? '';
|
||||
$dashboard_label_text_color_hover = $_POST["dashboard_label_text_color_hover"] ?? '';
|
||||
$dashboard_label_background_color = $_POST["dashboard_label_background_color"] ?? '';
|
||||
@@ -1083,3 +1083,4 @@
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ foreach ($dashboard as $row) {
|
||||
echo " background-image: linear-gradient(to right, ".$detail_background_color[1]." 0%, ".$detail_background_color[0]." 30%, ".$detail_background_color[0]." 70%, ".$detail_background_color[1]." 100%);\n";
|
||||
echo "}\n";
|
||||
}
|
||||
if ($row['dashboard_label_enabled'] == false) {
|
||||
if ($row['dashboard_label_enabled'] == 'false') {
|
||||
echo "#".$dashboard_name." .hud_title {\n";
|
||||
echo " display: none;\n";
|
||||
echo "}\n";
|
||||
@@ -609,3 +609,4 @@ function toggle_grid_row_end_all() {
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user