From 7f2eb1379254ad492c3e3694f06339f53afeaa4e Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 23 Dec 2021 15:50:20 +0800 Subject: [PATCH] * Fix bug for #17894. --- module/kanban/css/space.css | 2 ++ module/kanban/view/space.html.php | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/module/kanban/css/space.css b/module/kanban/css/space.css index 1f35a252ad..43f6d7d70e 100644 --- a/module/kanban/css/space.css +++ b/module/kanban/css/space.css @@ -33,3 +33,5 @@ .kanbans .kanban-members > span:after {right: -4px;} .kanbans .kanban-members-total {display: inline-block; margin-left: 6px; position: relative; top: 3px} .kanbans .kanbanAcl {position: absolute; right: 0px; bottom: 2px; color: #838a9d;} + +a.disabled {pointer-events: none;} diff --git a/module/kanban/view/space.html.php b/module/kanban/view/space.html.php index 3ef0b754f3..6dd5166445 100644 --- a/module/kanban/view/space.html.php +++ b/module/kanban/view/space.html.php @@ -49,9 +49,10 @@
+ status == 'closed' ? 'disabled' : '';?> id}", ' ' . $lang->kanban->create, '', "class='iframe' data-width='75%'", '', true);?> id}", ' ' . $lang->kanban->setting, '', "class='iframe' data-width='75%'", '', true);?> - status != 'closed') common::printLink('kanban', 'closeSpace', "spaceID={$space->id}", ' ' . $lang->close, '', "class='iframe'", '', true);?> + id}", ' ' . $lang->close, '', "class='iframe {$class}'", '', true);?> id}", ' ' . $lang->delete, 'hiddenwin', '', '', true);?>
@@ -67,7 +68,7 @@ name;?> - status != 'closed'));?> +