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

{{ __('Links') }}

@include('links.partials.new')
{{ __('Links') }}
@include('shared.message') @if(count($links) == 0) {{ __('No results found.') }} @else
{{ __('URL') }}
{{ __('Space') }}
{{ __('Clicks') }}
{{ __('Created at') }}
@foreach($links as $link)
{{ $link->displayUrl }}
@if(isset($link->space->name)) {{ $link->space->name }} @else
{{ __('None') }}
@endif
{{ $link->created_at->diffForHumans() }}
@include('links.partials.copy-link-button', ['class' => 'btn-ghost-primary btn-sm'])
@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') @endsection @include('shared.sidebars.user')