Вход Регистрация
Файл: resources/views/admin/notices/index.blade.php
Строк: 68
<?php
@extends('layout')

@
section('title'__('index.email_templates'))

@
section('header')
    <
div class="float-end">
        <
class="btn btn-success" href="/admin/notices/create">{{ __('main.add') }}</a>
    </
div>

    <
h1>{{ __('index.email_templates') }}</h1>
@
stop

@section('breadcrumb')
    <
nav>
        <
ol class="breadcrumb">
            <
li class="breadcrumb-item"><a href="/"><class="fas fa-home"></i></a></li>
            <
li class="breadcrumb-item"><a href="/admin">{{ __('index.panel') }}</a></li>
            <
li class="breadcrumb-item active">{{ __('index.email_templates') }}</li>
        </
ol>
    </
nav>
@
stop

@section('content')
    @if (
$notices->isNotEmpty())
        @foreach (
$notices as $notice)
            <
div class="section mb-3 shadow">
                <
div class="section-title">
                    <
class="fa fa-envelope"></i>
                        <
a href="/admin/notices/edit/{{ $notice->id }}">{{ $notice->name }}</a>

                    <
div class="float-end">
                        @if (
$notice->protect)
                            <
class="fa fa-lock"></i>
                        @else
                            <
a href="/admin/notices/delete/{{ $notice->id }}?_token={{ csrf_token() }}" onclick="return confirm('{{ __('admin.notices.confirm_delete') }}')"><class="fa fa-trash-alt"></i></a>
                        @endif
                    </
div>
                </
div>

                <
div class="section-content">
                    <
span class="badge bg-info">{{ __('main.type') }}: {{ $notice->type }}</span><br>
                    {{ 
__('main.changed') }}: {{ $notice->user->getProfile() }}
                    <
small class="section-date text-muted fst-italic">{{ dateFixed($notice->updated_at) }}</small>
                </
div>
            </
div>
        @endforeach

        {{ 
__('main.total') }}: {{ $notices->count() }}<br>
    @else
        {{ 
showError(__('admin.notices.empty_notices')) }}
    @endif
@
stop
?>
Онлайн: 2
Реклама