mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
show multiple instance comments
the previous update cycle only showed the latest comment from Sources concerning a specific instance now all available comments are pulled from denylist data to be displayed under Description on the front end
This commit is contained in:
@ -79,10 +79,12 @@ class FrontIndexController extends Controller
|
||||
($member->role == 1 || $member->role == 2) ? $edit = true : $edit = false;
|
||||
}
|
||||
|
||||
$links = explode(',', $location->archive_links);
|
||||
$links = explode(',', $location->archive_links);
|
||||
$comments = explode('+', $location->description);
|
||||
return view('front.location', [
|
||||
'title' => str_replace(".", " ", $name),
|
||||
'location' => $location,
|
||||
'comments' => $comments,
|
||||
'actions' => $location->block_count + $location->silence_count,
|
||||
'sources_count' => count($sources),
|
||||
'images' => json_decode($location->images),
|
||||
|
Reference in New Issue
Block a user