@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/activities/css/profile-rtl.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2-bootstrap.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch-rtl.min.css') !!} @endsection @section('content')
# | {{ __('Title') }} | {{ __('Category') }} | {{ __('Writer') }} | {{ __('Date') }} | {{ __('Do') }} | ||
---|---|---|---|---|---|---|---|
{{ $loop->index +1 }} | {!! $activity->subject->id !!} | {!! str_limit($activity->subject->title, 50) !!} | {{ $activity->subject->category->title }} | {{ @$activity->causer->name }} | {{ $activity->created_at->format('Y-m-d h:i:s') }} | @php $font_icon = 'fa fa-cog'; switch (@mb_strtolower($activity->description)) { case 'add': $font_icon = 'fa fa-file'; break; case 'edited': case 'updated': $font_icon = 'fa fa-edit'; break; case 'publish': $font_icon = 'fa fa-check-square-o'; break; case 'unpublish': $font_icon = 'fa fa-close'; break; default: break; } @endphp {{ __(ucfirst(@$activity->description)) }} | |
|