@section('site_title', formatTitle([__('Links'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['title' => __('Links')], ]])

{{ __('Links') }}

@include('links.new')
{{ __('Links') }}
@include('shared.message') @if(count($links) == 0) {{ __('No results found.') }} @else
{{ __('URL') }}
{{ __('Space') }}
{{ __('Clicks') }}
{{ __('Created at') }}
@foreach($links as $link)
@if($link->title){{ $link->title }}@else{{ str_replace(['http://', 'https://'], '', $link->url) }}@endif
@if(isset($link->space->name)) {{ $link->space->name }} @else
{{ __('None') }}
@endif
{{ $link->created_at->diffForHumans() }}
@include('shared.buttons.copy-link', ['class' => 'btn-sm text-primary'])
@include('links.partials.menu')
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $links->firstItem(), 'to' => $links->lastItem(), 'total' => $links->total()]) }}
{{ $links->onEachSide(1)->links() }}
@endif
@include('shared.modals.share-link')