@extends('layout.layout') @push('links') @endpush {{-- Breadcrumbs --}} @section('breadcrumbs') @if(class_exists('Breadcrumbs') && Breadcrumbs::exists(Route::currentRouteName()))

{{ Breadcrumbs::render(Route::currentRouteName(), Route::current()->parameters) }}

各場館借用情形
@endif @endsection {{-- Content --}} @section('content') @if ($site)

{{$site->name}}

@if (\Auth::check() && (\Auth::user()->role == 'admin' || $site->canManage(\Auth::user()->uid))) 管理者代租借 @endif 租借
狀態說明: 課程 社團 候補 維護 已承租
@include('components/calendar_table')
@else
@foreach ($sites as $key => $site)
{{$site->name}}
借用資訊 附件 @include('rent::component.site-detail')
@endforeach

最新消息 @if (count($newses) > 4) 更多消息 @endif

@foreach ($newses as $i => $news) @endforeach
{{$news->title}} {!! substr($news->created_at, 0, 10) !!} 詳細
@endif @endsection {{-- Script --}} @push('scripts') @endpush