summaryrefslogtreecommitdiff
path: root/app/Template/task/dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/dropdown.php')
-rw-r--r--app/Template/task/dropdown.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php
index cc97d1a1..e51c33e6 100644
--- a/app/Template/task/dropdown.php
+++ b/app/Template/task/dropdown.php
@@ -1,5 +1,10 @@
<div class="dropdown">
- <a href="#" class="dropdown-menu dropdown-menu-link-icon"><strong>#<?= $task['id'] ?> <i class="fa fa-caret-down"></i></strong></a>
+ <a href="#" class="dropdown-menu dropdown-menu-link-icon">
+ <strong>#<?=
+ isset($task['internal_task_id']) ?
+ ($task['internal_task_id'] . "<small>&nbsp;(" . $task['id'] . ")</small>") :
+ $task['id']
+ ?><i class="fa fa-caret-down"></i></strong></a>
<ul>
<?php if ($this->projectRole->canUpdateTask($task)): ?>
<?php if ($this->projectRole->canChangeAssignee($task) && array_key_exists('owner_id', $task) && $task['owner_id'] != $this->user->getId()): ?>