summaryrefslogtreecommitdiff
path: root/app/Templates/project_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-23 13:41:57 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-23 13:41:57 -0400
commit86bc091f21911eee328514534af88973b4922063 (patch)
treee2db1bc1202ba5d0b5e36dc8bcfe7791b75ba3d1 /app/Templates/project_index.php
parent14c2998c4ac0a56857014fb8b4d403b52dbc686e (diff)
Improve responsive design
Diffstat (limited to 'app/Templates/project_index.php')
-rw-r--r--app/Templates/project_index.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/Templates/project_index.php b/app/Templates/project_index.php
index df153fe7..1a3dbd49 100644
--- a/app/Templates/project_index.php
+++ b/app/Templates/project_index.php
@@ -31,21 +31,23 @@
<?= $project['is_active'] ? t('Active') : t('Inactive') ?>
</td>
<td>
+ <ul>
<?php if ($project['nb_tasks'] > 0): ?>
<?php if ($project['nb_active_tasks'] > 0): ?>
- <a href="?controller=board&amp;action=show&amp;project_id=<?= $project['id'] ?>"><?= t('%d tasks on the board', $project['nb_active_tasks']) ?></a>,
+ <li><a href="?controller=board&amp;action=show&amp;project_id=<?= $project['id'] ?>"><?= t('%d tasks on the board', $project['nb_active_tasks']) ?></a></li>
<?php endif ?>
<?php if ($project['nb_inactive_tasks'] > 0): ?>
- <a href="?controller=project&amp;action=tasks&amp;project_id=<?= $project['id'] ?>"><?= t('%d closed tasks', $project['nb_inactive_tasks']) ?></a>,
+ <li><a href="?controller=project&amp;action=tasks&amp;project_id=<?= $project['id'] ?>"><?= t('%d closed tasks', $project['nb_inactive_tasks']) ?></a></li>
<?php endif ?>
- <?= t('%d tasks in total', $project['nb_tasks']) ?>
+ <li><?= t('%d tasks in total', $project['nb_tasks']) ?></li>
<?php else: ?>
- <?= t('no task for this project') ?>
+ <li><?= t('no task for this project') ?></li>
<?php endif ?>
+ </ul>
</td>
<td>
<ul>