2014-07-20 12:26:15 +02:00
< div class = " task-show-sidebar " >
< h2 >< ? = t ( 'Actions' ) ?> </h2>
< div class = " task-show-actions " >
< ul >
< li >< a href = " ?controller=task&action=show&task_id=<?= $task['id'] ?> " >< ? = t ( 'Summary' ) ?> </a></li>
< li >< a href = " ?controller=task&action=edit&task_id=<?= $task['id'] ?> " >< ? = t ( 'Edit the task' ) ?> </a></li>
2014-10-22 19:59:09 +02:00
< li >< a href = " ?controller=task&action=description&task_id=<?= $task['id'] ?> " >< ? = t ( 'Edit the description' ) ?> </a></li>
2014-07-20 12:26:15 +02:00
< li >< a href = " ?controller=subtask&action=create&task_id=<?= $task['id'] ?> " >< ? = t ( 'Add a sub-task' ) ?> </a></li>
< li >< a href = " ?controller=comment&action=create&task_id=<?= $task['id'] ?> " >< ? = t ( 'Add a comment' ) ?> </a></li>
< li >< a href = " ?controller=file&action=create&task_id=<?= $task['id'] ?> " >< ? = t ( 'Attach a document' ) ?> </a></li>
< li >< a href = " ?controller=task&action=duplicate&project_id=<?= $task['project_id'] ?>&task_id=<?= $task['id'] ?> " >< ? = t ( 'Duplicate' ) ?> </a></li>
2014-10-22 19:59:09 +02:00
< li >< a href = " ?controller=task&action=copy&project_id=<?= $task['project_id'] ?>&task_id=<?= $task['id'] ?> " >< ? = t ( 'Duplicate to another project' ) ?> </a></li>
< li >< a href = " ?controller=task&action=move&project_id=<?= $task['project_id'] ?>&task_id=<?= $task['id'] ?> " >< ? = t ( 'Move to another project' ) ?> </a></li>
2014-07-20 12:26:15 +02:00
< li >
< ? php if ( $task [ 'is_active' ] == 1 ) : ?>
2014-10-22 19:59:09 +02:00
< a href = " ?controller=task&action=close&task_id=<?= $task['id'] ?> " >< ? = t ( 'Close this task' ) ?> </a>
2014-07-20 12:26:15 +02:00
< ? php else : ?>
2014-10-22 19:59:09 +02:00
< a href = " ?controller=task&action=open&task_id=<?= $task['id'] ?> " >< ? = t ( 'Open this task' ) ?> </a>
2014-07-20 12:26:15 +02:00
< ? php endif ?>
</ li >
2014-10-22 19:59:09 +02:00
< li >< a href = " ?controller=task&action=remove&task_id=<?= $task['id'] ?> " >< ? = t ( 'Remove' ) ?> </a></li>
2014-07-20 12:26:15 +02:00
</ ul >
</ div >
</ div >