File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
resources/views/md/field_types Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ @if (isset ($fromValue ) && $fromValue !== $toValue )
2+ **`{{ $fieldName } } `** has been {{ $toValue ? ' checked' : ' unchecked' } } .
3+ @elseif ($toValue === true )
4+ **`{{ $fieldName } } `** has been checked.
5+ @elseif ($toValue === false )
6+ **`{{ $fieldName } } `** has been unchecked.
7+ @else
8+ **`{{ $fieldName } } `** has been set to {{ $toValue ? ' ✅' : ' ❌' } } .
9+ @endif
Original file line number Diff line number Diff line change 1+ @if ($fromValue != null && $toValue != null )
2+ **`{{ $fieldName } } `** has been updated:
3+ - From: **`{{ $fromValue [' title' ] } } `**
4+ - To: **`{{ $toValue [' title' ] } } `**
5+ @elseif ($toValue == null )
6+ **`{{ $fieldName } } `** has been removed from the issue.
7+ @else
8+ **`{{ $fieldName } } `** has been set to **`{{ $toValue [' title' ] } } `**.
9+ @endif
10+
11+ @if (($toValue [' due_on' ] ?? null ) && ($toValue [' due_on' ] !== ($fromValue [' due_on' ] ?? null )) )
12+ - Due date: {{ format_date ($toValue [' due_on' ], ' Y-m-d' ) } }
13+ @endif
You can’t perform that action at this time.
0 commit comments