@extends('admin.frame_list') @section('content_btn') 返回 添加活动 主题:{{ $actives['theme']->name }} @stop @section('table_data') 活动名称 活动时间 人数 操作 @foreach ($actives['actives'] as $active) {{ $active->name }} @if ( $active->start_time && $active->end_time ) {{ str_replace("T", " ", $active->start_time) }} ~ {{ str_replace("T", " ", $active->end_time) }} @else @endif {{ $active_userNum = $active->activesUser->count() }}/{{ $active->user_num }} @if ($active_userNum) 报名列表 | @endif @if (!$active->end_time || strtotime(date('Y-m-d H:i:s', time())) < strtotime($active->end_time)) 编辑 @endif @if ($active->start_time && strtotime(date('Y-m-d H:i:s', time())) < strtotime($active->start_time)) | 删除 @endif @endforeach @stop @section('render_data') {{ $actives['actives']->render() }} @stop