diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-28 18:23:21 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-28 18:23:21 -0400 |
commit | 33f9cdbc976e0f97c3dd24658dc7d0097497c6d7 (patch) | |
tree | 3a5dc8ca9a6b3db268ba95aec357a2e5a8aad80e /app/Templates/board_task.php | |
parent | 03fa01ac7b036820ee232d893ec63241918c6012 (diff) |
Add support for Github Issue Webhooks
Diffstat (limited to 'app/Templates/board_task.php')
-rw-r--r-- | app/Templates/board_task.php | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/app/Templates/board_task.php b/app/Templates/board_task.php index 4f3546e2..ca854f37 100644 --- a/app/Templates/board_task.php +++ b/app/Templates/board_task.php @@ -1,6 +1,14 @@ <?php if (isset($not_editable)): ?> - <a href="?controller=task&action=readonly&task_id=<?= $task['id'] ?>&token=<?= $project['token'] ?>">#<?= $task['id'] ?></a> - + <a href="?controller=task&action=readonly&task_id=<?= $task['id'] ?>&token=<?= $project['token'] ?>">#<?= $task['id'] ?></a> + + <?php if ($task['reference']): ?> + <span class="task-board-reference" title="<?= t('Reference') ?>"> + (<?= $task['reference'] ?>) + </span> + <?php endif ?> + + - <span class="task-board-user"> <?php if (! empty($task['owner_id'])): ?> @@ -22,7 +30,15 @@ <?php else: ?> - <a class="task-edit-popover" href="?controller=task&action=edit&task_id=<?= $task['id'] ?>" title="<?= t('Edit this task') ?>">#<?= $task['id'] ?></a> - + <a class="task-edit-popover" href="?controller=task&action=edit&task_id=<?= $task['id'] ?>" title="<?= t('Edit this task') ?>">#<?= $task['id'] ?></a> + + <?php if ($task['reference']): ?> + <span class="task-board-reference" title="<?= t('Reference') ?>"> + (<?= $task['reference'] ?>) + </span> + <?php endif ?> + + - <span class="task-board-user"> <a class="assignee-popover" href="?controller=board&action=changeAssignee&task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>"> |