diff --git a/Models/Task.php b/Models/Task.php index 3250be8..521b5aa 100755 --- a/Models/Task.php +++ b/Models/Task.php @@ -529,6 +529,13 @@ class Task implements \JsonSerializable return $this->taskElements; } + /** + * Get task elements in inverted order. + * + * @return TaskElement[] + * + * @since 1.0.0 + */ public function invertTaskElements() : array { return \array_reverse($this->taskElements); diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index 4645acf..dfd5756 100755 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -70,7 +70,7 @@ echo $this->getData('nav')->render(); ?> getTags(); foreach ($tags as $tag) : ?> - icon !== null ? '' : ''; ?>printHtml($tag->getTitle()); ?> + icon !== null ? '' : ''; ?>printHtml($tag->getL11n()); ?> diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php index 6bc3e12..cf3110f 100755 --- a/Theme/Backend/task-single.tpl.php +++ b/Theme/Backend/task-single.tpl.php @@ -98,7 +98,7 @@ echo $this->getData('nav')->render(); ?> getTags(); foreach ($tags as $tag) : ?> - icon !== null ? '' : ''; ?>printHtml($tag->getTitle()); ?> + icon !== null ? '' : ''; ?>printHtml($tag->getL11n()); ?>