]> BookStack Code Mirror - bookstack/blob - resources/views/pages/template-manager-list.blade.php
Update errors.php
[bookstack] / resources / views / pages / template-manager-list.blade.php
1 {{ $templates->links() }}
2
3 @foreach($templates as $template)
4     <div class="card template-item border-card p-m mb-m" tabindex="0"
5          aria-label="{{ trans('entities.templates_replace_content') }} - {{ $template->name }}"
6          draggable="true" template-id="{{ $template->id }}">
7         <div class="template-item-content" title="{{ trans('entities.templates_replace_content') }}">
8             <div>{{ $template->name }}</div>
9             <div class="text-muted">{{ trans('entities.meta_updated', ['timeLength' => $template->updated_at->diffForHumans()]) }}</div>
10         </div>
11         <div class="template-item-actions">
12             <button type="button"
13                     title="{{ trans('entities.templates_prepend_content') }}"
14                     aria-label="{{ trans('entities.templates_prepend_content') }} - {{ $template->name }}"
15                     template-action="prepend">@icon('chevron-up')</button>
16             <button type="button"
17                     title="{{ trans('entities.templates_append_content') }}"
18                     aria-label="{{ trans('entities.templates_append_content') }} -- {{ $template->name }}"
19                     template-action="append">@icon('chevron-down')</button>
20         </div>
21     </div>
22 @endforeach
23
24 {{ $templates->links() }}