|
@@ 400-409 (lines=10) @@
|
| 397 |
|
$activity->setRelation('issue', $issue); |
| 398 |
|
}); |
| 399 |
|
|
| 400 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 401 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 402 |
|
'issue' => $issue, |
| 403 |
|
'userActivity' => $activity, |
| 404 |
|
'project' => $project, |
| 405 |
|
'user' => $activity->user, |
| 406 |
|
'comment' => $activity->comment, |
| 407 |
|
'assigned' => $activity->assignTo, |
| 408 |
|
])->render(); |
| 409 |
|
})->implode(''); |
| 410 |
|
|
| 411 |
|
if (empty($activityString)) { |
| 412 |
|
$activityString = '<li class="no-records">There are no comments yet on this issue.</li>'; |
|
@@ 433-443 (lines=11) @@
|
| 430 |
|
$activity->setRelation('issue', $issue); |
| 431 |
|
}); |
| 432 |
|
|
| 433 |
|
$activityString = $activities->map(function (UserActivity $activity) use ($project, $issue) { |
| 434 |
|
return view('project/issue/activity/' . $activity->activity->activity, [ |
| 435 |
|
'issue' => $issue, |
| 436 |
|
'userActivity' => $activity, |
| 437 |
|
'activity' => $activity, |
| 438 |
|
'project' => $project, |
| 439 |
|
'user' => $activity->user, |
| 440 |
|
'comment' => $activity->comment, |
| 441 |
|
'assigned' => $activity->assignTo, |
| 442 |
|
])->render(); |
| 443 |
|
})->implode(''); |
| 444 |
|
|
| 445 |
|
if (empty($activityString)) { |
| 446 |
|
$activityString = '<li class="no-records">There are no activity yet on this issue.</li>'; |