resources added f1

This commit is contained in:
2026-07-04 10:09:55 -03:00
parent 6cca6ce562
commit 59955097da
5 changed files with 187 additions and 0 deletions

View 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 ?>