Files
core/resources/views/admin/actionLog/overview.blade.php

46 lines
1.7 KiB
PHP

@extends('admin.layoutWithNavigation')
@section('pageHeading', @trans('admin/actionLog.overview'))
@if($user)
@section('pageDescription', @trans('admin/actionLog.displayingUsersActions', ['name' => $user->name, 'email' => $user->email]))
@endif
@section('content')
@if (!empty($actions))
<ul class="timeline">
<?php $odd = false; ?>
@foreach($actions as $action)
<li @if($odd) class="timeline-inverted" @endif>
<?php $odd = !$odd;?>
<div class="timeline-badge big"
style="background: url('{{\App\CMS\Helpers\Gravatar::img($action->email, 40)}}') no-repeat center center"
data-toggle="tooltip" data-placement="top"
title="{{$action->user_name}} {{$action->email}}"></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h5 class="timeline-title">{{$action->name}}
<small class="text-muted">
@date($action->created_at)
</small>
</h5>
</div>
<div class="timeline-body">
<p>{!! $action->value !!}</p>
</div>
</div>
</li>
@endforeach
</ul>
@else
<div class="alert alert-info">
<em>@lang('admin/userManagement.noActions')</em>
</div>
@endif
<div class="row text-center">
{!! $actions->render() !!}
</div>
@stop