@section('teams-team-lineup')
@foreach ($team->users as $user)
-
@if ($user->pivot->task)
{{ $user->pivot->task }}
@endif
@if ($user->pivot->description)
{{ $user->pivot->description }}
@endif
@endforeach
@show
@section('teams-team-awards')
@if (sizeof($team->awards) > 0)
{{ trans('app.object_awards') }}
@foreach ($team->awards->slice(0, 5) as $award)
{!! $award->positionIcon() !!}
|
@if ($award->url)
{{ $award->title }}
@else
{{ $award->title }}
@endif
|
{{ $award->tournament ? $award->tournament->short : null }}
|
@endforeach
@endif
@show
@section('teams-team-matches')
@if (sizeof($team->matches) > 0)
{{ trans('app.object_matches') }}
@foreach ($team->matches->slice(0, 5) as $match)
{!! HTML::image($match->game->uploadPath().$match->game->icon, $match->game->title, ['width' => 16, 'height' => 16]) !!}
|
{{ $match->right_team->title }}
|
{!! $match->scoreCode() !!}
|
@endforeach
@endif
@show