@if (!session()->has('selectedDevice'))
{{ __('Please select a device first') }}
@else
@if ($errors->any()) @endif
@csrf @if ($record) @method('PUT') @endif
{{ __('Monitor Configuration') }}
@php $selectedCode = old('country_code', $record->country_code ?? ''); @endphp
{{ __('Alerts will be sent only for events at or above this magnitude.') }}
@php $notifyEq = old('notify_earthquake', ($record ? $record->notify_earthquake : 1)); $notifyTs = old('notify_tsunami', ($record ? $record->notify_tsunami : 1)); @endphp
{{ __('Data Source') }}
@php $currentSource = old('api_source', $record->api_source ?? 'usgs'); @endphp {{ __('USGS and GDACS are free and require no API key.') }}
{{ __('Message Template') }}
{{ __('Available placeholders') }}: {place}, {title}, {magnitude}, {time}, {url}, {country}, {type}, {latitude}, {longitude}
{{ __('Recipients') }}
@php $defaultNumbers = $record && is_array($record->recipient_numbers) ? implode("\n", $record->recipient_numbers) : ''; @endphp {{ __('Include country code or use group ID (e.g. 123456789123456@g.us). Accepted separators: new line, comma, or semicolon.') }}
{{ __('Each cell or line should contain one phone number or group ID (e.g. 123456789123456@g.us). The "number" header row is ignored.') }} {{ __('Supported formats') }}: .csv, .xlsx, .xls, .txt @if ($record && is_array($record->recipient_numbers))
{{ __('Currently stored') }}: {{ count($record->recipient_numbers) }} {{ __('numbers') }}. {{ __('Uploading a new file will replace them.') }}
@endif
{{ __('Status') }}
{{ __('Cancel') }}
@endif