diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-12 21:46:20 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-12 21:46:20 -0500 |
commit | 713113d6c05e7a85d68ad096e25536a0553f5534 (patch) | |
tree | b29ccf419bd0a71be75d55e0983e4aba8b273a7a /app/Template/subtask | |
parent | 3699073371acc66ccacb56a89e87147a9c90d8c4 (diff) |
Add dropdown menu for subtasks
Diffstat (limited to 'app/Template/subtask')
-rw-r--r-- | app/Template/subtask/show.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php index 283057f4..6945840f 100644 --- a/app/Template/subtask/show.php +++ b/app/Template/subtask/show.php @@ -13,7 +13,7 @@ <th><?= t('Assignee') ?></th> <th><?= t('Time tracking') ?></th> <?php if ($editable): ?> - <th><?= t('Actions') ?></th> + <th class="column-5"></th> <?php endif ?> </tr> <?php foreach ($subtasks as $subtask): ?> @@ -61,6 +61,8 @@ </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> <?php if ($subtask['position'] != $first_position): ?> <li> @@ -79,6 +81,7 @@ <?= $this->url->link(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?> </li> </ul> + </div> </td> <?php endif ?> </tr> @@ -87,7 +90,6 @@ <?php endif ?> <?php if ($editable && $this->user->hasProjectAccess('subtask', 'save', $task['project_id'])): ?> - <?php if (empty($subtasks)): ?> <div class="page-header"> <h2><?= t('Sub-Tasks') ?></h2> |