diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-24 22:51:30 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-24 22:51:30 -0400 |
commit | 90e06162999c8ec7fa9bcfa391800f7907419d9b (patch) | |
tree | f0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Template/task_sidebar.php | |
parent | 180efb962c6fc4da47ed39e60db137d63ffaad5b (diff) |
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Template/task_sidebar.php')
-rw-r--r-- | app/Template/task_sidebar.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Template/task_sidebar.php b/app/Template/task_sidebar.php new file mode 100644 index 00000000..4cffd5fa --- /dev/null +++ b/app/Template/task_sidebar.php @@ -0,0 +1,26 @@ +<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> + <li><a href="?controller=task&action=description&task_id=<?= $task['id'] ?>"><?= t('Edit the description') ?></a></li> + <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> + <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> + <li> + <?php if ($task['is_active'] == 1): ?> + <a href="?controller=task&action=close&task_id=<?= $task['id'] ?>"><?= t('Close this task') ?></a> + <?php else: ?> + <a href="?controller=task&action=open&task_id=<?= $task['id'] ?>"><?= t('Open this task') ?></a> + <?php endif ?> + </li> + <?php if (! $hide_remove_menu): ?> + <li><a href="?controller=task&action=remove&task_id=<?= $task['id'] ?>"><?= t('Remove') ?></a></li> + <?php endif ?> + </ul> + </div> +</div>
\ No newline at end of file |