Display totals on the dashboard for tasks/subtasks/projects

This commit is contained in:
Frederic Guillot 2015-06-24 10:32:44 -04:00
parent 599237b805
commit bf22ea4694
4 changed files with 4 additions and 4 deletions

View File

@ -501,7 +501,7 @@ return array(
'Started on %B %e, %Y' => 'Commençé le %d/%m/%Y',
'Start date' => 'Date de début',
'Time estimated' => 'Temps estimé',
'There is nothing assigned to you.' => 'Aucune tâche assignée pour vous.',
'There is nothing assigned to you.' => 'Il n\'y a rien d\'assigné pour vous.',
'My tasks' => 'Mes tâches',
'Activity stream' => 'Flux d\'activité',
'Dashboard' => 'Tableau de bord',

View File

@ -1,4 +1,4 @@
<h2><?= t('My projects') ?></h2>
<h2><?= t('My projects') ?> (<?= $paginator->getTotal() ?>)</h2>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('Your are not member of any project.') ?></p>
<?php else: ?>

View File

@ -1,4 +1,4 @@
<h2><?= t('My subtasks') ?></h2>
<h2><?= t('My subtasks') ?> (<?= $paginator->getTotal() ?>)</h2>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
<?php else: ?>

View File

@ -1,4 +1,4 @@
<h2><?= t('My tasks') ?></h2>
<h2><?= t('My tasks') ?> (<?= $paginator->getTotal() ?>)</h2>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
<?php else: ?>