resources added f1
This commit is contained in:
12
Template/board/column_dropdown.php
Normal file
12
Template/board/column_dropdown.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php if ($this->user->hasProjectAccess('ColumnController', 'remove', $column['project_id']) && $this->OrganonColumnHelper->hasNoTasks($column['project_id'], $column['id'])): ?>
|
||||
<?php /* Rendered outside the menu <ul> by the only column hook, then moved into it by
|
||||
Asset/js/relocate.js. Hidden until relocated so it never flashes in the header.
|
||||
Shown only for empty columns (no open or closed tasks). */ ?>
|
||||
<li class="organontweaks-remove-column-item" style="display: none;">
|
||||
<?= $this->modal->confirm('trash-o', t('Remove this Column'), 'ColumnController', 'confirm', array(
|
||||
'plugin' => 'OrganonTweaks',
|
||||
'project_id' => $column['project_id'],
|
||||
'column_id' => $column['id'],
|
||||
)) ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
Reference in New Issue
Block a user