summaryrefslogtreecommitdiff
path: root/app/Template/column
diff options
context:
space:
mode:
authorBusfreak <Busfreak@users.noreply.github.com>2016-07-05 17:09:13 +0200
committerFrédéric Guillot <fred@kanboard.net>2016-07-05 11:09:13 -0400
commit6ccd8c11faff4a8b5209b45c140d12f94d97449b (patch)
tree74fda85e7f5d1ab359e4aa77c8b944e92da59805 /app/Template/column
parentb215296f971eaf35773218740d3d6696f8dc2310 (diff)
Hide tasks within specific columns in dashboard (#2424)
Diffstat (limited to 'app/Template/column')
-rw-r--r--app/Template/column/create.php2
-rw-r--r--app/Template/column/edit.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/column/create.php b/app/Template/column/create.php
index 023de525..387b6a47 100644
--- a/app/Template/column/create.php
+++ b/app/Template/column/create.php
@@ -13,6 +13,8 @@
<?= $this->form->label(t('Task limit'), 'task_limit') ?>
<?= $this->form->number('task_limit', $values, $errors) ?>
+ <?= $this->form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the Dashboard'), 1) ?>
+
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textarea('description', $values, $errors, array(), 'markdown-editor') ?>
diff --git a/app/Template/column/edit.php b/app/Template/column/edit.php
index a742e4b9..abd70119 100644
--- a/app/Template/column/edit.php
+++ b/app/Template/column/edit.php
@@ -15,6 +15,8 @@
<?= $this->form->label(t('Task limit'), 'task_limit') ?>
<?= $this->form->number('task_limit', $values, $errors) ?>
+ <?= $this->form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the Dashboard'), 1, $values['hide_in_dashboard'] == 1) ?>
+
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textarea('description', $values, $errors, array(), 'markdown-editor') ?>