@extends('admin.layout') @section('admin-title') Event Settings @endsection @section('admin-content') {!! breadcrumbs(['Admin Panel' => 'admin', 'Event Settings' => 'admin/grants/event-settings']) !!}
This page displays information about the current event currency and any global tracking. You may also clear all users' event score here.
@if ($currency->id)The current event currency is {{ $currency->name }}.
There is currently global tracking of event score. The current total is {!! $currency->display($total ? $total->quantity : 0) !!}.
Users can view information about the current global score here: {!! Form::text('url', url('event-tracking'), ['class' => 'form-control mb-4', 'disabled']) !!} This page includes information from a text page. @if (Auth::user()->hasPower('edit_pages')) You can edit this page here. @endif
@if (Settings::get('event_global_goal') != 0)The current goal is set to {!! $currency->display(Settings::get('event_global_goal')) !!}. Note that no action is taken automatically as a result of user progress, so any rewards, etc. will need to be distributed through other means.
There is no goal set.
@endif @elseThere is not currently global tracking of event score.
@endif @elseThe set currency does not exist.
@endifTeams are currently {{ Settings::get('event_teams') ? 'enabled' : 'disabled' }}.
Here you can set teams that users may join as part of an event. Note that teams must be enabled for this to have any effect, but you may still adjust these settings, e.g. to perform setup, with the setting disabled. Teams can
optionally have a logo image.
Much like with event score, a team's score will increase when one of its members gains event currency (by the amount of currency gained). Additionally, once a team is created, its raw score can be adjusted. If weighting is enabled, the weighted
score will also be displayed.
Note that teams may not be removed while teams are enabled, as a safety precaution while an event is running.
{!! Form::open(['url' => 'admin/event-settings/teams', 'files' => true]) !!}