diff options
Diffstat (limited to 'app/Template/project_overview')
-rw-r--r-- | app/Template/project_overview/columns.php | 4 | ||||
-rw-r--r-- | app/Template/project_overview/show.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/project_overview/columns.php b/app/Template/project_overview/columns.php index daae9ca7..f1472ff3 100644 --- a/app/Template/project_overview/columns.php +++ b/app/Template/project_overview/columns.php @@ -1,7 +1,7 @@ <div class="project-overview-columns"> - <?php foreach ($project['columns'] as $column): ?> + <?php foreach ($columns as $column): ?> <div class="project-overview-column"> - <strong title="<?= t('Task count') ?>"><?= $column['nb_tasks'] ?></strong> + <strong title="<?= t('Task count') ?>"><?= $column['nb_open_tasks'] ?></strong> <small><?= $this->text->e($column['title']) ?></small> </div> <?php endforeach ?> diff --git a/app/Template/project_overview/show.php b/app/Template/project_overview/show.php index d87b2775..8bd711f0 100644 --- a/app/Template/project_overview/show.php +++ b/app/Template/project_overview/show.php @@ -1,6 +1,6 @@ <section id="main"> <?= $this->projectHeader->render($project, 'ProjectOverviewController', 'show') ?> - <?= $this->render('project_overview/columns', array('project' => $project)) ?> + <?= $this->render('project_overview/columns', array('project' => $project, 'columns' => $columns)) ?> <?= $this->hook->render('template:project-overview:before-description', array('project' => $project)) ?> <?= $this->render('project_overview/description', array('project' => $project)) ?> <?= $this->render('project_overview/attachments', array('project' => $project, 'images' => $images, 'files' => $files)) ?> |