* Adjust space page css.

This commit is contained in:
wangyuting
2023-11-02 14:21:59 +08:00
parent e51bb87951
commit 71647a1976
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
window.clickCopyCard = function(event)
{
setCopyKanban($(event.target).data('id'));
setCopyKanban($(event.target).closest('.copy-card').data('id'));
$('#copyKanbanModal').modal('hide');
}
+1
View File
@@ -0,0 +1 @@
+2 -2
View File
@@ -77,7 +77,7 @@ foreach($spaceList as $space)
$canEdit = common::hasPriv('kanban','edit');
$canDelete = common::hasPriv('kanban','delete');
$canClose = (common::hasPriv('kanban', 'close') and $kanban->status == 'active');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'closed');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'closed');
if($canEdit) $cardActions[] = array('icon' => 'edit', 'text' => $lang->kanban->edit, 'url' => createLink('kanban', 'edit', "kanbanID={$kanban->id}"), 'data-toggle' => 'modal');
if($canClose) $cardActions[] = array('icon' => 'off', 'text' => $lang->kanban->close, 'url' => createLink('kanban', 'close', "kanbanID={$kanban->id}"), 'data-toggle' => 'modal');
if($canActivate) $cardActions[] = array('icon' => 'magic', 'text' => $lang->kanban->activate, 'url' => createLink('kanban', 'activate', "kanbanID={$kanban->id}"), 'data-toggle' => 'modal');
@@ -90,7 +90,7 @@ foreach($spaceList as $space)
set::className('px-2 pb-4 overflow-hidden'),
div
(
set::className('kanban-card border px-4 pb-2 pt-1'),
set::className('kanban-card border px-4 pb-2 pt-1 open-url'),
set('data-url', createLink('kanban', 'view', "kanbanID=$kanbanID")),
div
(