block_rss_dashboard.html.twig 1019 B

12345678910111213141516171819202122232425262728293031
  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 "SonataBlockBundle:Block:block_core_rss.html.twig" %}
  8. {% block block %}
  9. <div class="box box-warning">
  10. <div class="box-header with-border">
  11. <h3 class="box-title sonata-feed-title"><i class="fa fa-rss" aria-hidden="true"></i> {{ settings.title }}</h3>
  12. </div>
  13. <div class="sonata-feeds-container list-group">
  14. {% for feed in feeds %}
  15. <a class="list-group-item" href="{{ feed.link}}" rel="nofollow" title="{{ feed.title }}">
  16. <strong>{{ feed.title }}</strong>
  17. <div>{{ feed.description|raw }}</div>
  18. </a>
  19. {% else %}
  20. <div class="list-group-item">No feeds available.</div>
  21. {% endfor %}
  22. </div>
  23. </div>
  24. {% endblock %}