Improve columns table in project settings

This commit is contained in:
Frederic Guillot
2017-02-08 19:12:16 -05:00
parent 73dce12797
commit 58d4231f06
36 changed files with 69 additions and 269 deletions

View File

@@ -15,7 +15,7 @@
data-save-position-url="<?= $this->url->href('ColumnController', 'move', array('project_id' => $project['id'])) ?>">
<thead>
<tr>
<th class="column-40"><?= t('Column title') ?></th>
<th class="column-40"><?= t('Column') ?></th>
<th class="column-10"><?= t('Task limit') ?></th>
<th class="column-20"><?= t('Visible on dashboard') ?></th>
<th class="column-10"><?= t('Open tasks') ?></th>
@@ -36,10 +36,10 @@
<?php endif ?>
</td>
<td>
<?= $this->text->e($column['task_limit']) ?>
<?= $column['task_limit'] ?: '∞' ?>
</td>
<td>
<?= $column['hide_in_dashboard'] == 1 ? t('Yes') : t('No') ?>
<?= $column['hide_in_dashboard'] == 0 ? t('Yes') : t('No') ?>
</td>
<td>
<?= $column['nb_open_tasks'] ?>