refs #1752 empty message dynamics..

This commit is contained in:
Cüneyt Şentürk
2021-01-14 20:47:25 +03:00
parent 90a1bf3efb
commit e9bf2b2b77
3 changed files with 87 additions and 18 deletions

View File

@ -61,7 +61,9 @@
@else
<x-documents.index.empty-page
type="{{ $type }}"
page="{{ $page }}"
docs-path="{{ $docsPath }}"
image-empty-page="{{ $imageEmptyPage }}"
text-empty-page="{{ $textEmptyPage }}"
url-docs-path="{{ $urlDocsPath }}"
create-route="{{ $createRoute }}"
/>
@endif

View File

@ -1 +1,18 @@
@include('partials.admin.empty_page', ['page' => $page, 'docs_path' => $docsPath])
<div class="card">
<div class="row align-items-center">
<div class="col-xs-12 col-sm-6 text-center p-5">
<img class="blank-image" src="{{ asset($imageEmptyPage) }}" alt="@yield('title')"/>
</div>
<div class="col-xs-12 col-sm-6 text-center p-5">
<p class="text-justify description">
{!! trans($textEmptyPage) !!} {!! trans('general.empty.documentation', ['url' => $urlDocsPath]) !!}
</p>
<a href="{{ route($createRoute) }}" class="btn btn-success float-right mt-4">
<span class="btn-inner--text">{{ trans('general.title.create', ['type' => trans_choice($textPage, 1)]) }}</span>
</a>
</div>
</div>
</div>