|
@@ 408-417 (lines=10) @@
|
| 405 |
|
$activity->setRelation('issue', $issue); |
| 406 |
|
}); |
| 407 |
|
|
| 408 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 409 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 410 |
|
'issue' => $issue, |
| 411 |
|
'userActivity' => $activity, |
| 412 |
|
'project' => $project, |
| 413 |
|
'user' => $activity->user, |
| 414 |
|
'comment' => $activity->comment, |
| 415 |
|
'assigned' => $activity->assignTo, |
| 416 |
|
])->render(); |
| 417 |
|
})->implode(''); |
| 418 |
|
|
| 419 |
|
if (empty($activityString)) { |
| 420 |
|
$activityString = '<li class="no-records">There are no comments yet on this issue.</li>'; |
|
@@ 441-451 (lines=11) @@
|
| 438 |
|
$activity->setRelation('issue', $issue); |
| 439 |
|
}); |
| 440 |
|
|
| 441 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 442 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 443 |
|
'issue' => $issue, |
| 444 |
|
'userActivity' => $activity, |
| 445 |
|
'activity' => $activity, |
| 446 |
|
'project' => $project, |
| 447 |
|
'user' => $activity->user, |
| 448 |
|
'comment' => $activity->comment, |
| 449 |
|
'assigned' => $activity->assignTo, |
| 450 |
|
])->render(); |
| 451 |
|
})->implode(''); |
| 452 |
|
|
| 453 |
|
if (empty($activityString)) { |
| 454 |
|
$activityString = '<li class="no-records">There are no activity yet on this issue.</li>'; |