2022-10-18 17:02:34 -04:00
|
|
|
<div component="pointer"
|
|
|
|
option:pointer:page-id="{{ $page->id }}"
|
|
|
|
id="pointer"
|
|
|
|
class="pointer-container">
|
2019-06-16 06:17:15 -04:00
|
|
|
<div class="pointer anim {{ userCan('page-update', $page) ? 'is-page-editable' : ''}}" >
|
|
|
|
<span class="icon mr-xxs">@icon('link') @icon('include', ['style' => 'display:none;'])</span>
|
|
|
|
<div class="input-group inline block">
|
2023-04-14 09:08:40 -04:00
|
|
|
<input refs="pointer@input" readonly="readonly" type="text" id="pointer-url" placeholder="url">
|
|
|
|
<button refs="pointer@button" class="button outline icon" data-clipboard-target="#pointer-url" type="button" title="{{ trans('entities.pages_copy_link') }}">@icon('copy')</button>
|
2019-06-16 06:17:15 -04:00
|
|
|
</div>
|
|
|
|
@if(userCan('page-update', $page))
|
|
|
|
<a href="{{ $page->getUrl('/edit') }}" id="pointer-edit" data-edit-href="{{ $page->getUrl('/edit') }}"
|
2019-09-01 06:06:19 -04:00
|
|
|
class="button primary outline icon heading-edit-icon ml-s px-s" title="{{ trans('entities.pages_edit_content_link')}}">@icon('edit')</a>
|
2019-06-16 06:17:15 -04:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|