@if($key == 'name' || $key == 'start_date' || $key == 'end_date' || $key == 'status' || $key == 'description')
{{$label [$key]}}
|
@if($key == 'name' || $key == 'description')
{!! $activity->properties['old'][$key] !!}
@elseif($key == 'start_date' || $key == 'end_date')
{{@format_date($activity->properties['old'][$key])}}
@elseif($key == 'status')
{{$status_and_priority[$activity->properties['old'][$key]]}}
@endif
|
@if($key == 'name' || $key == 'description')
{!! $value !!}
@elseif($key == 'start_date' || $key == 'end_date')
{{@format_date($value)}}
@elseif($key == 'status')
{{$status_and_priority[$value]}}
@endif
|
@endif
@endforeach