1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added links to tag page

- Added from books/shelves listings and within the tag-edit view for all
  entities.
This commit is contained in:
Dan Brown
2021-11-06 20:21:11 +00:00
parent 929c8312bd
commit f8f9e74992
4 changed files with 22 additions and 6 deletions

View File

@ -5,12 +5,15 @@
refs="tag-manager@add-remove"
class="tags">
<p class="text-muted small">{!! nl2br(e(trans('entities.tags_explain'))) !!}</p>
<p class="text-muted small">
{!! nl2br(e(trans('entities.tags_explain'))) !!} <br>
<a href="{{ url('/tags') }}" target="_blank">{{ trans('entities.tags_view_existing_tags') }}</a>.
</p>
<div component="sortable-list"
option:sortable-list:handle-selector=".handle">
@include('entities.tag-manager-list', ['tags' => $entity ? $entity->tags->all() : []])
</div>
<div component="sortable-list"
option:sortable-list:handle-selector=".handle">
@include('entities.tag-manager-list', ['tags' => $entity ? $entity->tags->all() : []])
</div>
<button refs="add-remove-rows@add" type="button" class="text-button">{{ trans('entities.tags_add') }}</button>
<button refs="add-remove-rows@add" type="button" class="text-button">{{ trans('entities.tags_add') }}</button>
</div>