block_stats.html.twig 887 B

1234567891011121314151617181920212223242526272829
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% extends sonata_block.templates.block_base %}
  8. {% block block %}
  9. <!-- small box -->
  10. <div class="small-box {{ settings.color }}">
  11. <div class="inner">
  12. <h3>{{ pager.count() }}</h3>
  13. <p>{{ settings.text|trans({}, admin.translationDomain) }}</p>
  14. </div>
  15. <div class="icon">
  16. <i class="fa {{ settings.icon }}"></i>
  17. </div>
  18. <a href="{{ admin.generateUrl('list', {filter: settings.filters}) }}" class="small-box-footer">
  19. {{ 'stats_view_more'|trans({}, 'SonataAdminBundle') }} <i class="fa fa-arrow-circle-right" aria-hidden="true"></i>
  20. </a>
  21. </div>
  22. {% endblock %}