summaryrefslogtreecommitdiff
path: root/plugins/Timetrackingeditor/Template/menu.php
blob: fb715c4b782a41ddc1d2adf0eab7eace16aa8b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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->modal->medium("pencil-square-o", t('Edit'), 
            'TimeTrackingEditorController', 'edit', 
            array('plugin' => 'timetrackingeditor', 
            'task_id' => $task['id'], 
            'project_id' => $task['project_id'], 
            'subtask_id' => $subtask_id, 
            'id' => $id)) ?>
        </li>
        <li>
            <?= $this->modal->medium("trash-o", t('Remove'), 
            'TimeTrackingEditorController', 'confirm', 
            array('plugin' => 'timetrackingeditor', 
            'task_id' => $task['id'],
            'project_id' => $task['project_id'], 
            'subtask_id' => $subtask_id, 
            'id' => $id)) ?>
        </li>
    </ul>
</div>