From eafaa4b03770a73080520952112905eb8135a62f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 10 May 2018 14:30:59 -0700 Subject: Make hardcoded hours string translatable --- app/Template/notification/subtask_update.php | 5 +++-- app/Template/subtask/timer.php | 6 ++++-- app/Template/task_internal_link/table.php | 6 +++--- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'app/Template') diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php index a6c4e9cc..a6956792 100644 --- a/app/Template/notification/subtask_update.php +++ b/app/Template/notification/subtask_update.php @@ -10,10 +10,11 @@
  • - text->e($subtask['time_spent']).'h' ?> + + / - text->e($subtask['time_estimated']).'h' ?> +
  • diff --git a/app/Template/subtask/timer.php b/app/Template/subtask/timer.php index 2102e6cc..0f17fc73 100644 --- a/app/Template/subtask/timer.php +++ b/app/Template/subtask/timer.php @@ -1,10 +1,12 @@ - text->e($subtask['time_spent']).'h' ?> + + / + - text->e($subtask['time_estimated']).'h' ?> + user->hasProjectAccess('SubtaskController', 'edit', $task['project_id']) && $subtask['user_id'] == $this->user->getId()): ?> diff --git a/app/Template/task_internal_link/table.php b/app/Template/task_internal_link/table.php index 9ef20645..6a11be60 100644 --- a/app/Template/task_internal_link/table.php +++ b/app/Template/task_internal_link/table.php @@ -64,11 +64,11 @@ - text->e($link['task_time_spent']).'h' ?> + - + / - text->e($link['task_time_estimated']).'h' ?> + -- cgit v1.2.3