summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-22 17:07:19 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-22 17:07:19 -0500
commitdaffcd5fd6fb3cfdd5b107580fe29e85a0e0ef18 (patch)
tree495ebcd03a485c217f68ceb59ffdc56e578169e5
parent3be442bfc5035db2af52cc15d29ef1875c2cad96 (diff)
Add column to show dashboard visibility
-rw-r--r--app/Template/column/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/column/index.php b/app/Template/column/index.php
index 9e7ddfe8..eaaae332 100644
--- a/app/Template/column/index.php
+++ b/app/Template/column/index.php
@@ -16,7 +16,8 @@
<thead>
<tr>
<th class="column-70"><?= t('Column title') ?></th>
- <th class="column-25"><?= t('Task limit') ?></th>
+ <th class="column-10"><?= t('Task limit') ?></th>
+ <th class="column-20"><?= t('Visible on dashboard') ?></th>
<th class="column-5"><?= t('Actions') ?></th>
</tr>
</thead>
@@ -36,6 +37,9 @@
<?= $this->text->e($column['task_limit']) ?>
</td>
<td>
+ <?= $column['hide_in_dashboard'] == 1 ? t('Yes') : t('No') ?>
+ </td>
+ <td>
<div class="dropdown">
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a>
<ul>