#423 Scoped time info in mail

This commit is contained in:
Daniel Brendel
2025-08-07 23:53:12 +02:00
parent 39e8d552b3
commit dc8278108a
3 changed files with 5 additions and 3 deletions

View File

@@ -497,5 +497,6 @@ return [
'days' => 'Tage',
'weeks' => 'Wochen',
'months' => 'Monate',
'years' => 'Jahre'
'years' => 'Jahre',
'recurring_time_with_scope' => '{time} {scope}'
];

View File

@@ -497,5 +497,6 @@ return [
'days' => 'Days',
'weeks' => 'Weeks',
'months' => 'Months',
'years' => 'Years'
'years' => 'Years',
'recurring_time_with_scope' => '{time} {scope}'
];

View File

@@ -15,7 +15,7 @@
@endif
<div>
<div><strong>{{ __('app.recurring_time') }}:&nbsp;</strong>{{ $task->get('recurring_time') }}</div>
<div><strong>{{ __('app.recurring_time') }}:&nbsp;</strong>{{ __('app.recurring_time_with_scope', ['time' => $task->get('recurring_time'), 'scope' => __('app.' . $task->get('recurring_scope'))]) }}</div>
<div><strong>{{ __('app.due') }}:&nbsp;</strong>{{ date('Y-m-d', strtotime($task->get('due_date'))) }}</div>
<div><a href="{{ workspace_url('/tasks') }}">{{ workspace_url('/tasks') }}</div>
</div>