* Code format for task #54349.
This commit is contained in:
@@ -79,7 +79,7 @@ function exitFullScreen()
|
||||
{
|
||||
$('.region-actions > div > .action').show();
|
||||
$(".title").attr("disabled", false).css("pointer-events", "auto");
|
||||
if(kanban.status == 'closed') return;
|
||||
if(!CRKanban && kanban.status == 'closed') return;
|
||||
$('#kanbanContainer').removeClass('fullscreen')
|
||||
.off('scroll', tryUpdateKanbanAffix);
|
||||
$('.actions').show();
|
||||
|
||||
@@ -2940,7 +2940,7 @@ class kanbanModel extends model
|
||||
$actions .= "<div class='btn-group'>";
|
||||
$actions .= "<a href='javascript:fullScreen();' id='fullScreenBtn' $btnColor class='btn btn-link'><i class='icon icon-fullscreen'></i> {$this->lang->kanban->fullScreen}</a>";
|
||||
|
||||
$CRKanban = !($this->config->CRKanban === '0' and $kanban->status === 'closed');
|
||||
$CRKanban = !($this->config->CRKanban === '0' and $kanban->status === 'closed');
|
||||
$printRegionBtn = ($CRKanban and (common::hasPriv('kanban', 'createRegion') or $printSetHeightBtn or common::hasPriv('kanban', 'performable') or common::hasPriv('kanban', 'enableArchived') or common::hasPriv('kanban', 'import') or common::hasPriv('kanban', 'setColumnWidth')));
|
||||
$printKanbanBtn = (common::hasPriv('kanban', 'edit') or common::hasPriv('kanban', 'close') or common::hasPriv('kanban', 'delete'));
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ $app->loadLang('productplan');
|
||||
</div>
|
||||
<div class='col-xs-2 card-actions' <?php if($kanban->performable) echo "id='performable'";?>>
|
||||
<?php
|
||||
$CRKanban = ($this->config->CRKanban or $kanban->status != 'closed');
|
||||
$CRKanban = ($this->config->CRKanban or $kanban->status != 'closed');
|
||||
$canRestore = (commonModel::hasPriv('kanban', 'restoreCard') and $CRKanban);
|
||||
$canDelete = (commonModel::hasPriv('kanban', 'deleteCard') and $CRKanban);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user