30 lines
887 B
Twig
30 lines
887 B
Twig
{#
|
|
|
|
This file is part of the Sonata package.
|
|
|
|
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
|
|
|
|
For the full copyright and license information, please view the LICENSE
|
|
file that was distributed with this source code.
|
|
|
|
#}
|
|
|
|
{% extends sonata_block.templates.block_base %}
|
|
|
|
{% block block %}
|
|
<!-- small box -->
|
|
<div class="small-box {{ settings.color }}">
|
|
<div class="inner">
|
|
<h3>{{ pager.count() }}</h3>
|
|
|
|
<p>{{ settings.text|trans({}, admin.translationDomain) }}</p>
|
|
</div>
|
|
<div class="icon">
|
|
<i class="fa {{ settings.icon }}"></i>
|
|
</div>
|
|
<a href="{{ admin.generateUrl('list', {filter: settings.filters}) }}" class="small-box-footer">
|
|
{{ 'stats_view_more'|trans({}, 'SonataAdminBundle') }} <i class="fa fa-arrow-circle-right" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
{% endblock %}
|