diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-12 22:23:34 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-12 22:23:34 -0500 |
commit | ce4b7b61c26e5ef48ed5c62f826c0483c8e4c9c3 (patch) | |
tree | e0b0ac2ed5b6c52aeef33b812008c63f8a120e1b /app | |
parent | fde0c0bad5058e65ec1a676da6b0d0f2511e6a85 (diff) |
Add dropdown menu for task links table
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/tasklink/show.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/tasklink/show.php b/app/Template/tasklink/show.php index fbb1f825..5843da17 100644 --- a/app/Template/tasklink/show.php +++ b/app/Template/tasklink/show.php @@ -10,7 +10,7 @@ <th><?= t('Column') ?></th> <th><?= t('Assignee') ?></th> <?php if ($editable): ?> - <th><?= t('Action') ?></th> + <th class="column-5"><?= t('Action') ?></th> <?php endif ?> </tr> <?php foreach ($links as $label => $grouped_links): ?> @@ -66,10 +66,13 @@ </td> <?php if ($editable): ?> <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> <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> </ul> + </div> </td> <?php endif ?> </tr> |