Add dropdown menu for task links table
This commit is contained in:
@@ -8,7 +8,7 @@ New features:
|
|||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
* Add dropdown menu for subtasks, categories, swimlanes, columns, custom filters and groups
|
* Add dropdown menu for subtasks, categories, swimlanes, columns, custom filters, task links and groups
|
||||||
* Add new template hooks
|
* Add new template hooks
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<th><?= t('Column') ?></th>
|
<th><?= t('Column') ?></th>
|
||||||
<th><?= t('Assignee') ?></th>
|
<th><?= t('Assignee') ?></th>
|
||||||
<?php if ($editable): ?>
|
<?php if ($editable): ?>
|
||||||
<th><?= t('Action') ?></th>
|
<th class="column-5"><?= t('Action') ?></th>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($links as $label => $grouped_links): ?>
|
<?php foreach ($links as $label => $grouped_links): ?>
|
||||||
@@ -66,10 +66,13 @@
|
|||||||
</td>
|
</td>
|
||||||
<?php if ($editable): ?>
|
<?php if ($editable): ?>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="dropdown">
|
||||||
|
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><?= $this->url->link(t('Edit'), 'tasklink', 'edit', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id'])) ?></li>
|
<li><?= $this->url->link(t('Edit'), 'tasklink', 'edit', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id'])) ?></li>
|
||||||
<li><?= $this->url->link(t('Remove'), 'tasklink', 'confirm', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id'])) ?></li>
|
<li><?= $this->url->link(t('Remove'), 'tasklink', 'confirm', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id'])) ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user