Move chart task time column to components
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<?php if (empty($metrics)): ?>
|
||||
<p class="alert"><?= t('Not enough data to show the graph.') ?></p>
|
||||
<?php else: ?>
|
||||
<?= $this->app->component('chart-avg-time-column', array(
|
||||
<?= $this->app->component('chart-project-avg-time-column', array(
|
||||
'metrics' => $metrics,
|
||||
'label' => t('Average time spent'),
|
||||
)) ?>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<?php if (! $display_graph): ?>
|
||||
<p class="alert"><?= t('You need at least 2 days of data to show the chart.') ?></p>
|
||||
<?php else: ?>
|
||||
<?= $this->app->component('chart-burndown', array(
|
||||
<?= $this->app->component('chart-project-burndown', array(
|
||||
'metrics' => $metrics,
|
||||
'labelTotal' => t('Total for all columns'),
|
||||
'dateFormat' => e('%%Y-%%m-%%d'),
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<?php if (! $display_graph): ?>
|
||||
<p class="alert"><?= t('You need at least 2 days of data to show the chart.') ?></p>
|
||||
<?php else: ?>
|
||||
<?= $this->app->component('chart-cumulative-flow', array(
|
||||
<?= $this->app->component('chart-project-cumulative-flow', array(
|
||||
'metrics' => $metrics,
|
||||
'dateFormat' => e('%%Y-%%m-%%d'),
|
||||
)) ?>
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
<?php if (empty($metrics)): ?>
|
||||
<p class="alert"><?= t('Not enough data to show the graph.') ?></p>
|
||||
<?php else: ?>
|
||||
<?= $this->app->component('chart-lead-cycle-time', array(
|
||||
<?= $this->app->component('chart-project-lead-cycle-time', array(
|
||||
'metrics' => $metrics,
|
||||
'labelCycle' => t('Cycle Time'),
|
||||
'labelTime' => t('Lead Time'),
|
||||
'labelLead' => t('Lead Time'),
|
||||
)) ?>
|
||||
|
||||
<form method="post" class="form-inline" action="<?= $this->url->href('AnalyticController', 'leadAndCycleTime', array('project_id' => $project['id'])) ?>" autocomplete="off">
|
||||
|
||||
Reference in New Issue
Block a user