summaryrefslogtreecommitdiff
path: root/app/Template/task_list
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_list')
-rw-r--r--app/Template/task_list/task_details.php2
-rw-r--r--app/Template/task_list/task_project_name.php5
2 files changed, 7 insertions, 0 deletions
diff --git a/app/Template/task_list/task_details.php b/app/Template/task_list/task_details.php
index 03e1d3eb..5230a8b5 100644
--- a/app/Template/task_list/task_details.php
+++ b/app/Template/task_list/task_details.php
@@ -1,5 +1,7 @@
<div class="table-list-details">
+<?php if (!isset($task['render_project_name'])): ?>
<?= $this->text->e($task['project_name']) ?> &gt;
+<?php endif ?>
<?= $this->text->e($task['swimlane_name']) ?> &gt;
<?= $this->text->e($task['column_name']) ?>
diff --git a/app/Template/task_list/task_project_name.php b/app/Template/task_list/task_project_name.php
new file mode 100644
index 00000000..c4a6095a
--- /dev/null
+++ b/app/Template/task_list/task_project_name.php
@@ -0,0 +1,5 @@
+<?php if (isset($task['render_project_name']) && $task['render_project_name']): ?>
+<h2>
+ <?= $task['project_name'] ?>
+</h2>
+<?php endif ?>