src/Pumukit/WebTVBundle/Resources/views/MediaLibrary/template_sort.html.twig line 1

Open in your IDE?
  1. <div class="row">
  2.     <span>{% trans %}Sort by{% endtrans %}:</span>
  3.     <ul class="list-group list-inline order-by list-group-horizontal">
  4.         <li {% if sort == 'date' %}aria-current="page"{% endif %}>
  5.             <a href="{{ path('pumukit_webtv_medialibrary_index', {'sort': 'date'}) }}" title="{% trans %}Sort by date{% endtrans %}">
  6.                 {% trans %}Date{% endtrans %} ,
  7.             </a>
  8.         </li>
  9.         <li {% if sort == 'alphabetically' %}aria-current="page"{% endif %}>
  10.             <a href="{{ path('pumukit_webtv_medialibrary_index', {'sort': 'alphabetically'}) }}" title="{% trans %}Sort alphabetically{% endtrans %}">
  11.                 {% trans %}Alphabetically{% endtrans %}
  12.             </a>
  13.         </li>
  14.         {% for tag in tags %}
  15.             <li {% if sort == 'tags' %}aria-current="page"{% endif %}>
  16.                 <a href="{{ path('pumukit_webtv_medialibrary_index', {'sort': 'tags', 'p_tag': tag.cod }) }}" title="{% trans %}Sort by{% endtrans %} {{ tag.title }}">
  17.                     , {{ tag.title }}
  18.                 </a>
  19.             </li>
  20.         {% endfor %}
  21.     </ul>.
  22.     <div class="clearfix"></div>
  23. </div>