Files
BulkMoveTasks/Template/board/column_dropdown.php

14 lines
802 B
PHP
Raw Normal View History

2026-06-28 17:30:19 -03:00
<?php if ($column['nb_tasks'] > 0 && $this->user->hasProjectAccess('TaskModificationController', 'update', $column['project_id'])): ?>
2026-07-07 13:25:02 -03:00
<?php /* Rendered here (outside the menu <ul>) by the only available hook, then moved
into the column's real dropdown <ul> by Asset/js/relocate.js so it sits next
to the native entries. Hidden until relocated to avoid a flash in the header. */ ?>
<li class="bulkmovetasks-menu-item" style="display: none;">
<?= $this->modal->medium('arrows-h', t('Move tasks in bulk'), 'BulkMoveController', 'show', array(
2026-06-28 17:30:19 -03:00
'plugin' => 'BulkMoveTasks',
'project_id' => $column['project_id'],
'column_id' => $column['id'],
'swimlane_id' => $swimlane['id'],
)) ?>
</li>
<?php endif ?>