@php $appName = config('core.app.name', __('core::core.brand.name')); $isLimit = $threshold === \Core\Tenant\Models\UsageAlertHistory::THRESHOLD_LIMIT; $isCritical = $threshold === \Core\Tenant\Models\UsageAlertHistory::THRESHOLD_CRITICAL; @endphp @if($isLimit) # {{ __('tenant::tenant.emails.usage_alert.limit_reached.heading') }} {{ __('tenant::tenant.emails.usage_alert.limit_reached.body', ['workspace' => $workspaceName, 'feature' => $featureName]) }} **{{ __('tenant::tenant.emails.usage_alert.limit_reached.usage_line', ['used' => $used, 'limit' => $limit]) }}** **{{ __('tenant::tenant.emails.usage_alert.limit_reached.options_heading') }}** - {{ __('tenant::tenant.emails.usage_alert.limit_reached.options.upgrade') }} - {{ __('tenant::tenant.emails.usage_alert.limit_reached.options.reset') }} - {{ __('tenant::tenant.emails.usage_alert.limit_reached.options.reduce') }} {{ __('tenant::tenant.emails.usage_alert.upgrade_plan') }} @elseif($isCritical) # {{ __('tenant::tenant.emails.usage_alert.critical.heading') }} {{ __('tenant::tenant.emails.usage_alert.critical.body', ['workspace' => $workspaceName, 'feature' => $featureName]) }} **{{ __('tenant::tenant.emails.usage_alert.critical.usage_line', ['used' => $used, 'limit' => $limit, 'percentage' => $percentage]) }}** **{{ __('tenant::tenant.emails.usage_alert.critical.remaining_line', ['remaining' => $remaining]) }}** {{ __('tenant::tenant.emails.usage_alert.critical.action_text') }} {{ __('tenant::tenant.emails.usage_alert.upgrade_plan') }} @else # {{ __('tenant::tenant.emails.usage_alert.warning.heading') }} {{ __('tenant::tenant.emails.usage_alert.warning.body', ['workspace' => $workspaceName, 'feature' => $featureName]) }} **{{ __('tenant::tenant.emails.usage_alert.warning.usage_line', ['used' => $used, 'limit' => $limit, 'percentage' => $percentage]) }}** **{{ __('tenant::tenant.emails.usage_alert.warning.remaining_line', ['remaining' => $remaining]) }}** {{ __('tenant::tenant.emails.usage_alert.warning.action_text') }} {{ __('tenant::tenant.emails.usage_alert.view_usage') }} @endif {{ __('tenant::tenant.emails.usage_alert.help_text') }} Thanks,
{{ $appName }}