@extends('layouts.app') @section('title') Event Tracking @endsection @section('content') {!! breadcrumbs(['Event Tracking' => 'event-tracking']) !!}
The current event currency is {{ $currency->name }}, and the current global total is {!! $currency->display($total ? $total->quantity : 0) !!} @if (Settings::get('event_global_goal') != 0) . The current overall goal is {!! $currency->display(Settings::get('event_global_goal')) !!}! @else ! @endif
@endif @if (Settings::get('event_teams')) @if ($teams->count()) @if (Auth::check() && !isset(Auth::user()->settings->team_id))It seems you haven't selected a team yet! You can choose one of the teams here-- but choose carefully, as your decision is final!
@endif @if (Settings::get('event_weighting'))Note that the team scores displayed here are weighted based on the number of members each team has!
@endifMembers: {{ $team->members->count() }} ・ Score: {{ $team->weightedScore }}
@if (Auth::check() && !isset(Auth::user()->settings->team_id)) {!! Form::open(['url' => 'event-tracking/team/' . $team->id]) !!} {!! Form::submit('Join Team', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!} @elseif(Auth::check() && Auth::user()->settings->team_id == $team->id)This is your team!
@endifOh no! It seems there's no event currency.
@endif @endsection