@extends('admin.layouts.master') @section('title', __('Edit Template')) @section('has-content-sidebar', 'has-content-sidebar') @section('content-sidebar') @include('admin.manage-content.email-templates.content-sidebar', compact('templateList', 'templateDetails')) @endsection @section('content')

{{ __('Email') }} / {{ data_get($templateDetails, 'name') }}

  • {{ __('Email send to:') }} {{ ucfirst(data_get($templateDetails, 'recipient')) }}
  • {{ __('Template Relate:') }} {{ ucwords(str_replace(['_', '-'], ' ', data_get($templateDetails, 'group'))) }}

{{ __('You can use these shortcut:') }} {{ '[[site_name]], [[site_email]], [[user_name]], [[user_email]], [[user_id]]'.(!blank(data_get($templateDetails, 'shortcut')) ? ', '. data_get($templateDetails, 'shortcut') : '') }}

@if(data_get($templateDetails, 'recipient') == \App\Enums\EmailRecipientType::ADMIN)
{!! __('Define address from :link', ['link' => ''.__('Email Cofiguration').'']) !!}
{{ __('If email recipient selected as custom email.') }}
@endif
@endsection