blue-twilight/resources/views/themes/base/partials/admin_stats_widget.blade.php
2017-08-31 17:20:58 +01:00

11 lines
606 B
PHP

<div class="card admin-sidebar-card">
<div class="card-header">@lang('admin.stats_widget.panel_header')</div>
<div class="card-body">
<b>{{ $album_count }}</b> {{ trans_choice('admin.stats_widget.albums', $album_count) }}<br/>
<b>{{ $photo_count }}</b> {{ trans_choice('admin.stats_widget.photos', $photo_count) }}
@can('admin:access')
<br/>
<b>{{ $user_count }}</b> {{ trans_choice('admin.stats_widget.users', $user_count) }} / <b>{{ $group_count }}</b> {{ trans_choice('admin.stats_widget.groups', $group_count) }}
@endcan
</div>
</div>