@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') }} | {{ __('User') }} | {{ __('Date') }} | {{ __('Do') }} | ||
---|---|---|---|---|---|---|---|
{{ $loop->index +1 }} | {!! @$subject->id !!} | {!! str_limit(@$subject->title, 50) !!} | @if (@$subject->category) {{ @$subject->category->title }} @endif | {{ @$activity->causer->name }} |
{{ Date::parse($activity->created_at)->format('l-d-m h:i') }} {{ __(Date::parse($activity->created_at)->format('A')) }} |
@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)) }} | |
|