@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')
@foreach ($themes as $key => $theme)
@if ($inherit = Arr::get($theme, 'inherit'))
{{ trans('packages/theme::theme.child_of', ['theme' => Arr::get($themes, $inherit . '.name', $inherit)]) }}
@endif

{{ $theme['name'] }}

@if (! empty($theme['description']))

{{ $theme['description'] }}

@endif
@if (! empty($theme['author']))
{{ trans('packages/theme::theme.author') }}: @if (! empty($theme['url'])) {{ $theme['author'] }} @else {{ $theme['author'] }} @endif
@endif @if (! empty($theme['version']))
{{ trans('packages/theme::theme.version') }}: {{ $theme['version'] }}
@endif
@if (setting('theme') && Theme::getThemeName() == $key) {{ trans('packages/theme::theme.activated') }} @else @if (Auth::guard()->user()->hasPermission('theme.activate')) {{ trans('packages/theme::theme.active') }} @endif @if (Auth::guard()->user()->hasPermission('theme.remove')) {{ trans('packages/theme::theme.remove') }} @endif @endif
@endforeach
@stop @push('footer') @endpush