summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/diag_tables.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php
index 8a160d3..520775d 100644
--- a/src/usr/local/www/diag_tables.php
+++ b/src/usr/local/www/diag_tables.php
@@ -208,6 +208,11 @@ events.push(function() {
//]]>
</script>
+<?php
+if (empty($entries)) {
+ print_info_box(gettext("No entries exist in this table."), 'warning', false);
+} else {
+?>
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=$displayname?></h2></div>
<div class="panel-body">
@@ -242,7 +247,6 @@ events.push(function() {
</div>
<?php
-if (empty($entries)) {
- print_info_box(gettext("No entries exist in this table."), 'warning', false);
}
+
include("foot.inc");
OpenPOWER on IntegriCloud