From 9bf4525c25cbad1f87b7556355f0039d5ba7dc18 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 24 May 2023 18:11:38 +0000 Subject: [PATCH] bug fixes and item management improvements --- Theme/Backend/Lang/en.lang.php | 7 +++++++ Theme/Backend/task-dashboard.tpl.php | 2 +- Views/TaskView.php | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index aec6896..5062615 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -74,6 +74,13 @@ return ['Tasks' => [ 'Upload' => 'Upload', 'Week' => 'Week', 'Year' => 'Year', + 'YourOpen' => 'Your Open', + 'OpenGiven' => 'Open Given', + 'All' => 'All', + 'For' => 'For', + 'UnreadChanges' => 'Unread Changes', + 'Unread' => 'Unread', + 'Overview' => 'Overview', 'forwarded_to' => 'forwarded to', 'priority_change' => '%s set the priority on %s to', 'status_change' => '%s set the status on %s to', diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index 9701490..96c65df 100755 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -157,7 +157,7 @@ echo $this->getData('nav')->render(); ?>
-
getHtml('AllTasks'); ?>
+
getHtml('All'); ?>
diff --git a/Views/TaskView.php b/Views/TaskView.php index d468e13..5ac2278 100755 --- a/Views/TaskView.php +++ b/Views/TaskView.php @@ -74,10 +74,10 @@ class TaskView extends View ->execute(); if ($profile->id === 0 || $profile->image->getPath() === '') { - return UriFactory::build('{/base}/' . $this->defaultProfileImage->getPath()); + return UriFactory::build($this->defaultProfileImage->getPath()); } - return UriFactory::build('{/base}/' . $profile->image->getPath()); + return UriFactory::build($profile->image->getPath()); } /**