Move chart task time column to components

This commit is contained in:
Frederic Guillot
2016-11-21 23:16:18 -05:00
parent 25272afa9b
commit b9ab163344
12 changed files with 58 additions and 59 deletions

View File

@@ -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">