diff options
author | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2020-01-15 15:54:11 +0100 |
---|---|---|
committer | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2020-01-15 15:54:11 +0100 |
commit | b6f34622b169652c57e7cabd8d11e28605f110c3 (patch) | |
tree | 39496fdf3c35177aaccb394bba8cd46d221b6426 /app/Template | |
parent | 3317d87addb03688a08a7fb12200b4913125dba7 (diff) |
Extending extended query for tasks with possible hooks
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/task/dropdown.php | 7 |
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> (" . $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()): ?> |