summaryrefslogtreecommitdiff
path: root/app/Template/analytic/user_distribution.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/analytic/user_distribution.php')
-rw-r--r--app/Template/analytic/user_distribution.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/Template/analytic/user_distribution.php b/app/Template/analytic/user_distribution.php
index 76ac945c..cae6fa57 100644
--- a/app/Template/analytic/user_distribution.php
+++ b/app/Template/analytic/user_distribution.php
@@ -1,6 +1,8 @@
-<div class="page-header">
- <h2><?= t('User repartition') ?></h2>
-</div>
+<?php if (! $is_ajax): ?>
+ <div class="page-header">
+ <h2><?= t('User repartition') ?></h2>
+ </div>
+<?php endif ?>
<?php if (empty($metrics)): ?>
<p class="alert"><?= t('Not enough data to show the graph.') ?></p>