add item to the dropdown menu
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<?php if ($column['nb_tasks'] > 0 && $this->user->hasProjectAccess('TaskModificationController', 'update', $column['project_id'])): ?>
|
||||
<li>
|
||||
<?= $this->modal->medium('arrows-h', t('Move all tasks to another column'), 'BulkMoveController', 'show', array(
|
||||
<?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(
|
||||
'plugin' => 'BulkMoveTasks',
|
||||
'project_id' => $column['project_id'],
|
||||
'column_id' => $column['id'],
|
||||
|
||||
Reference in New Issue
Block a user