diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 14:00:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 14:00:51 -0500 |
commit | b3a450bace8461fb7989d5406b9d9ec644d7df4a (patch) | |
tree | 89827b899d4a3fad9d123750955a0fc4692de312 /app/Template/analytic/time_comparison.php | |
parent | ea2cbb76d5d48ef8d2601fc33edc55c15929b963 (diff) |
Display project analytics in modal box
Diffstat (limited to 'app/Template/analytic/time_comparison.php')
-rw-r--r-- | app/Template/analytic/time_comparison.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/Template/analytic/time_comparison.php b/app/Template/analytic/time_comparison.php index c949f2c8..754c68f2 100644 --- a/app/Template/analytic/time_comparison.php +++ b/app/Template/analytic/time_comparison.php @@ -1,6 +1,8 @@ -<div class="page-header"> - <h2><?= t('Estimated vs actual time') ?></h2> -</div> +<?php if (! $is_ajax): ?> + <div class="page-header"> + <h2><?= t('Estimated vs actual time') ?></h2> + </div> +<?php endif ?> <div class="panel"> <ul> @@ -27,9 +29,9 @@ <tr> <th class="column-5"><?= $paginator->order(t('Id'), 'tasks.id') ?></th> <th><?= $paginator->order(t('Title'), 'tasks.title') ?></th> - <th class="column-5"><?= $paginator->order(t('Status'), 'tasks.is_active') ?></th> - <th class="column-10"><?= $paginator->order(t('Estimated Time'), 'tasks.time_estimated') ?></th> - <th class="column-10"><?= $paginator->order(t('Actual Time'), 'tasks.time_spent') ?></th> + <th class="column-10"><?= $paginator->order(t('Status'), 'tasks.is_active') ?></th> + <th class="column-12"><?= $paginator->order(t('Estimated Time'), 'tasks.time_estimated') ?></th> + <th class="column-12"><?= $paginator->order(t('Actual Time'), 'tasks.time_spent') ?></th> </tr> <?php foreach ($paginator->getCollection() as $task): ?> <tr> |