From 73dce1279760434e1d1b7a903a0a7500462d6f9c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 8 Feb 2017 18:36:13 -0500 Subject: Prevent people to remove columns that contains tasks --- app/Template/column/index.php | 14 ++++++++++++-- app/Template/column/remove.php | 1 - 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'app/Template/column') diff --git a/app/Template/column/index.php b/app/Template/column/index.php index eaaae332..0b14e341 100644 --- a/app/Template/column/index.php +++ b/app/Template/column/index.php @@ -15,10 +15,12 @@ data-save-position-url="url->href('ColumnController', 'move', array('project_id' => $project['id'])) ?>"> - + - + + + @@ -39,6 +41,12 @@ + + + + + + diff --git a/app/Template/column/remove.php b/app/Template/column/remove.php index 4134b175..b4e7942d 100644 --- a/app/Template/column/remove.php +++ b/app/Template/column/remove.php @@ -5,7 +5,6 @@

-

modal->confirmButtons( -- cgit v1.2.3