@if (user()) {!! HTML::fontIcon('chevron-left') !!} @endif {{ trans('app.object_team') }} {{ $team->title }}

@if ($team->image)
{{ $team->title }}
@endif @if ($team->cup_points > 0)

{!! trans('app.cup_points') !!}: {{ $team->cup_points }}

@endif @section('cups-team-members') @if (sizeof($team->members) > 0)

{{ trans('app.object_members') }}

@if (user() and ($organizer or user()->isSuperAdmin())) @endif @foreach ($team->members as $member) @if (user() and ($organizer or user()->isSuperAdmin())) @endif @endforeach
{{ trans('app.username') }} {{ trans('cups::organizer') }}{{ trans('app.actions') }}
{{ $member->username }} @if (user() and ($organizer or user()->isSuperAdmin())) pivot->organizer ? 'checked="1"' : null }}> @else {!! $member->pivot->organizer ? HTML::fontIcon('check') : HTML::fontIcon('times') !!} @endif {{ trans('app.remove') }}
@endif @show @if (sizeof($team->cups) > 0)

{{ trans('app.object_cups') }}

@foreach ($team->cups as $cup) @endforeach
{{ trans('app.name') }} {{ trans('app.mode') }} {{ trans('app.object_game') }} {{ trans('cups::start_at') }}
{{ $cup->title }} {{ $cup->players_per_team }}on{{ $cup->players_per_team }} {{ $cup->game->short }} {{ $cup->start_at }}
@endif @if ($team->invisible)
{{ trans('cups::team_deleted') }}
@else @if (user() and ! $team->isMember(user())) {{ trans('app.join') }} @endif @endif