Added links to tag page
- Added from books/shelves listings and within the tag-edit view for all entities.
This commit is contained in:
parent
929c8312bd
commit
f8f9e74992
4 changed files with 22 additions and 6 deletions
|
@ -265,6 +265,8 @@ return [
|
|||
'tags_assigned_shelves' => 'Assigned to Shelves',
|
||||
'tags_x_unique_values' => ':count unique values',
|
||||
'tags_all_values' => 'All values',
|
||||
'tags_view_tags' => 'View Tags',
|
||||
'tags_view_existing_tags' => 'View existing tags',
|
||||
'attachments' => 'Attachments',
|
||||
'attachments_explain' => 'Upload some files or attach some links to display on your page. These are visible in the page sidebar.',
|
||||
'attachments_explain_instant_save' => 'Changes here are saved instantly.',
|
||||
|
|
|
@ -44,6 +44,11 @@
|
|||
@endif
|
||||
|
||||
@include('entities.view-toggle', ['view' => $view, 'type' => 'books'])
|
||||
|
||||
<a href="{{ url('/tags') }}" class="icon-list-item">
|
||||
<span>@icon('tag')</span>
|
||||
<span>{{ trans('entities.tags_view_tags') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -15,7 +15,13 @@
|
|||
<span>{{ trans('entities.shelves_new_action') }}</span>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@include('entities.view-toggle', ['view' => $view, 'type' => 'shelves'])
|
||||
|
||||
<a href="{{ url('/tags') }}" class="icon-list-item">
|
||||
<span>@icon('tag')</span>
|
||||
<span>{{ trans('entities.tags_view_tags') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue