Add labels to dashboard system counts (#6225)

* Update app_languages.php

* Update system_counts.php
This commit is contained in:
AlexC
2022-01-04 20:48:35 -07:00
committed by GitHub
parent 61844e6823
commit ab0e4faa94
2 changed files with 43 additions and 1 deletions

View File

@@ -299,7 +299,7 @@
var system_counts_chart_context = document.getElementById('system_counts_chart').getContext('2d');
const system_counts_chart_data = {
labels: ['InActive: <?php echo $domain_inactive; ?>', 'Active: <?php echo $domain_active; ?>'],
labels: ['<?php echo $text['label-inactive']; ?>: <?php echo $domain_inactive; ?>', '<?php echo $text['label-active']; ?>: <?php echo $domain_active; ?>'],
datasets: [{
data: ['<?php echo $domain_inactive; ?>', '<?php echo $domain_active; ?>'],
backgroundColor: [