@extends('worldexpansion.layout') @section('title') Locations @endsection @section('content') {!! breadcrumbs(['World' => 'world', 'Locations' => 'world/locations']) !!}
{!! $location->category ? $location->category->displayName : '' !!}
{!! $location->type ? ucfirst($location->type->displayName) : '' !!} {!! $location->parent ? 'inside ' . $location->parent->displayName : '' !!}
Can be home to {!! $location->is_character_home && $location->is_user_home ? 'both' : '' !!} {!! $user_enabled && $location->is_user_home ? 'users' : '' !!}{!! $location->is_character_home && $location->is_user_home ? ' and' : '' !!}{!! !$location->is_character_home && $location->is_user_home ? '.' : '' !!} {!! $ch_enabled && $location->is_character_home ? 'characters.' : '' !!}
@if (count($children) == 1) {{ $loctypes->find($group)->name }}@else{{ $loctypes->find($group)->names }} @endif: @foreach ($children as $key => $child) {!! $child->fullDisplayName !!}@if ($key != count($children) - 1) , @endif @endforeach @endforeach
{!! $location->summary !!}