|
@@ 440-449 (lines=10) @@
|
| 437 |
|
$activity->setRelation('issue', $issue); |
| 438 |
|
}); |
| 439 |
|
|
| 440 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 441 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 442 |
|
'issue' => $issue, |
| 443 |
|
'userActivity' => $activity, |
| 444 |
|
'project' => $project, |
| 445 |
|
'user' => $activity->user, |
| 446 |
|
'comment' => $activity->comment, |
| 447 |
|
'assigned' => $activity->assignTo, |
| 448 |
|
])->render(); |
| 449 |
|
})->implode(''); |
| 450 |
|
|
| 451 |
|
if (empty($activityString)) { |
| 452 |
|
$activityString = '<li class="no-records">There are no comments yet on this issue.</li>'; |
|
@@ 473-483 (lines=11) @@
|
| 470 |
|
$activity->setRelation('issue', $issue); |
| 471 |
|
}); |
| 472 |
|
|
| 473 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 474 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 475 |
|
'issue' => $issue, |
| 476 |
|
'userActivity' => $activity, |
| 477 |
|
'activity' => $activity, |
| 478 |
|
'project' => $project, |
| 479 |
|
'user' => $activity->user, |
| 480 |
|
'comment' => $activity->comment, |
| 481 |
|
'assigned' => $activity->assignTo, |
| 482 |
|
])->render(); |
| 483 |
|
})->implode(''); |
| 484 |
|
|
| 485 |
|
if (empty($activityString)) { |
| 486 |
|
$activityString = '<li class="no-records">There are no activity yet on this issue.</li>'; |