summaryrefslogtreecommitdiff
path: root/app/Template/analytic/task_distribution.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 14:00:51 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 14:00:51 -0500
commitb3a450bace8461fb7989d5406b9d9ec644d7df4a (patch)
tree89827b899d4a3fad9d123750955a0fc4692de312 /app/Template/analytic/task_distribution.php
parentea2cbb76d5d48ef8d2601fc33edc55c15929b963 (diff)
Display project analytics in modal box
Diffstat (limited to 'app/Template/analytic/task_distribution.php')
-rw-r--r--app/Template/analytic/task_distribution.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/Template/analytic/task_distribution.php b/app/Template/analytic/task_distribution.php
index 1231856e..671d462f 100644
--- a/app/Template/analytic/task_distribution.php
+++ b/app/Template/analytic/task_distribution.php
@@ -1,6 +1,8 @@
-<div class="page-header">
- <h2><?= t('Task distribution') ?></h2>
-</div>
+<?php if (! $is_ajax): ?>
+ <div class="page-header">
+ <h2><?= t('Task distribution') ?></h2>
+ </div>
+<?php endif ?>
<?php if (empty($metrics)): ?>
<p class="alert"><?= t('Not enough data to show the graph.') ?></p>