mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-02-21 13:58:39 -06:00
#423 Add scope data attributes
This commit is contained in:
@@ -417,7 +417,7 @@
|
||||
@if ($task->get('due_date') !== null)
|
||||
<span class="{{ ((new DateTime($task->get('due_date'))) < (new DateTime())) ? 'is-task-overdue' : '' }}">{{ date('Y-m-d', strtotime($task->get('due_date'))) }}</span>
|
||||
|
||||
<span class="is-task-recurring" data-time="{{ $task->get('recurring_time') ?? '' }}"><i class="far fa-clock {{ ((!$task->get('recurring_time')) ? 'is-hidden' : '') }}"></i></span>
|
||||
<span class="is-task-recurring" data-time="{{ $task->get('recurring_time') ?? '' }}" data-scope="{{ $task->get('recurring_scope') ?? '' }}"><i class="far fa-clock {{ ((!$task->get('recurring_time')) ? 'is-hidden' : '') }}"></i></span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
<div class="task-footer-due" id="task-item-due-{{ $task->get('id') }}">
|
||||
@if ($task->get('due_date') !== null)
|
||||
<span class="{{ ((new DateTime($task->get('due_date'))) < (new DateTime())) ? 'is-task-overdue' : '' }}">{{ date('Y-m-d', strtotime($task->get('due_date'))) }}</span>
|
||||
<span class="is-task-recurring" data-time="{{ $task->get('recurring_time') ?? '' }}"><i class="far fa-clock {{ ((!$task->get('recurring_time')) ? 'is-hidden' : '') }}"></i></span>
|
||||
<span class="is-task-recurring" data-time="{{ $task->get('recurring_time') ?? '' }}" data-scope="{{ $task->get('recurring_scope') ?? '' }}"><i class="far fa-clock {{ ((!$task->get('recurring_time')) ? 'is-hidden' : '') }}"></i></span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user