Move chart task time column to components
This commit is contained in:
@@ -16,8 +16,13 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3 id="analytic-task-time-column"><?= t('Time spent into each column') ?></h3>
|
||||
<div id="chart" data-metrics='<?= json_encode($time_spent_columns, JSON_HEX_APOS) ?>' data-label="<?= t('Time spent') ?>"></div>
|
||||
<h3><?= t('Time spent into each column') ?></h3>
|
||||
|
||||
<?= $this->app->component('chart-task-time-column', array(
|
||||
'metrics' => $time_spent_columns,
|
||||
'label' => t('Time spent'),
|
||||
)) ?>
|
||||
|
||||
<table class="table-striped">
|
||||
<tr>
|
||||
<th><?= t('Column') ?></th>
|
||||
|
||||
Reference in New Issue
Block a user