@extends('layouts.admin') @section('title', trans('admin.Settings')) @section('page-title', trans('admin.Settings')) @section('content') {{ trans('admin.Settings') }} @csrf {{ trans('admin.Branding') }}{{ trans('admin.Branding hint') }} {{ trans('admin.Logo') }} {{ trans('admin.Replaces the logo shown across the site') }} @error('logo') {{ $message }} @enderror {{ trans('admin.Site name') }} @error('site_name') {{ $message }} @enderror {{ trans('admin.Site color') }} {{ trans('admin.Reset to default') }} {{ trans('admin.Site color hint') }} @error('primary_color') {{ $message }} @enderror {{ trans('admin.Site secondary color') }} {{ trans('admin.Reset to default') }} {{ trans('admin.Site secondary color hint') }} @error('secondary_color') {{ $message }} @enderror {{ trans('admin.Contact email') }} {{ trans('admin.Contact email hint') }} @error('contact_email') {{ $message }} @enderror {{ trans('admin.WhatsApp number') }} {{ trans('admin.WhatsApp number hint') }} @error('whatsapp_number') {{ $message }} @enderror {{ trans('admin.Instructor settings') }}{{ trans('admin.Instructor settings hint') }} {{ trans('admin.Multi instructors mode') }} {{ trans('admin.When disabled, courses are always assigned to the default instructor') }} multi_instructors_mode) checked @endif> @error('multi_instructors_mode') {{ $message }} @enderror {{ trans('admin.Default instructor') }}{{ trans('admin.Required') }} — @foreach ($instructors as $instructor) default_instructor_id == $instructor->id) selected @endif>{{ $instructor->user?->name }} @endforeach {{ trans('admin.Used for courses created by admins') }} @error('default_instructor_id') {{ $message }} @enderror {{ trans('admin.Site subscription plans') }}{{ trans('admin.Subscription pricing hint') }} {{ trans('admin.Monthly price') }} @error('subscription_price_monthly') {{ $message }} @enderror {{ trans('admin.Quarterly price') }} @error('subscription_price_quarterly') {{ $message }} @enderror {{ trans('admin.Half-yearly price') }} @error('subscription_price_half_yearly') {{ $message }} @enderror {{ trans('admin.Yearly price') }} @error('subscription_price_yearly') {{ $message }} @enderror {{ trans('admin.Gamification points') }}{{ trans('admin.Gamification points hint') }} {{ trans('admin.Points per completed lesson') }} @error('lesson_points') {{ $message }} @enderror {{ trans('admin.Points per course review') }} @error('review_points') {{ $message }} @enderror {{ trans('admin.Points for passing an exam') }} @error('exam_pass_points') {{ $message }} @enderror @if (auth('user')->user()->has_permission('update-settings')) {{ trans('admin.Save') }} @endif @endsection @section('script') @endsection