blue-twilight/resources/views/themes/base/partials/admin_stats_widget.blade.php

13 lines
830 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) }} &middot;
<b>{{ $photo_count }}</b> {{ trans_choice('admin.stats_widget.photos', $photo_count) }} &middot;
<b>{{ $comment_count }}</b> {{ trans_choice('admin.stats_widget.comments', $comment_count) }} <br/>
<b>{{ $label_count }}</b> {{ trans_choice('admin.stats_widget.labels', $label_count) }}
@can('admin:access')
<br/>
<b>{{ $user_count }}</b> {{ trans_choice('admin.stats_widget.users', $user_count) }} &middot; <b>{{ $group_count }}</b> {{ trans_choice('admin.stats_widget.groups', $group_count) }}
@endcan
</div>
</div>