mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Added copy considerations
Show to the user when copying stuff to highlight important things such as what's not copied or change in permissions.
This commit is contained in:
@ -26,6 +26,8 @@
|
||||
@include('form.text', ['name' => 'name'])
|
||||
</div>
|
||||
|
||||
@include('entities.copy-considerations')
|
||||
|
||||
<div class="form-group text-right">
|
||||
<a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
||||
<button type="submit" class="button">{{ trans('entities.books_copy') }}</button>
|
||||
|
@ -36,6 +36,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('entities.copy-considerations')
|
||||
|
||||
<div class="form-group text-right">
|
||||
<a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
||||
<button type="submit" class="button">{{ trans('entities.chapters_copy') }}</button>
|
||||
|
15
resources/views/entities/copy-considerations.blade.php
Normal file
15
resources/views/entities/copy-considerations.blade.php
Normal file
@ -0,0 +1,15 @@
|
||||
<p class="text-warn mb-none mt-l">
|
||||
@icon('warning') <strong>{{ trans('entities.copy_consider') }}</strong>
|
||||
</p>
|
||||
|
||||
<div class="grid half no-gap no-row-gap text-warn mb-m">
|
||||
<ul class="pr-s mb-none">
|
||||
<li>{{ trans('entities.copy_consider_permissions') }}</li>
|
||||
<li>{{ trans('entities.copy_consider_owner') }}</li>
|
||||
<li>{{ trans('entities.copy_consider_images') }}</li>
|
||||
</ul>
|
||||
<ul class="pr-s mb-none">
|
||||
<li>{{ trans('entities.copy_consider_attachments') }}</li>
|
||||
<li>{{ trans('entities.copy_consider_access') }}</li>
|
||||
</ul>
|
||||
</div>
|
@ -37,6 +37,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('entities.copy-considerations')
|
||||
|
||||
<div class="form-group text-right">
|
||||
<a href="{{ $page->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
||||
<button type="submit" class="button">{{ trans('entities.pages_copy') }}</button>
|
||||
|
Reference in New Issue
Block a user