myList.html.twig 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% extends "MuzichFavoriteBundle::layout.html.twig" %}
  2. {% block title %}{{ 'title.myfavorites'|trans({}, 'userui') }}{% endblock %}
  3. {% block mainbox_classes %}mainbox_nopadding{% endblock %}
  4. {% block content %}
  5. <div class="top_tools">
  6. <h1>{{ 'favorites.your_favorites'|trans({}, 'network') }}</h1>
  7. {% include "MuzichCoreBundle:Tag:tagsList.favorite.html.twig" with {
  8. 'user_id' : app.user.id
  9. } %}
  10. </div>
  11. {% include "MuzichCoreBundle:SearchElement:default.html.twig" with{
  12. 'display_autoplay' : true,
  13. 'autoplay_context' : 'favorite_my',
  14. 'autoplay_shuffle' : 'elements_get_filter_data_autoplay_favorite',
  15. 'autoplay_context' : 'favorite_user'
  16. } %}
  17. {% if elements|length %}
  18. {% include "MuzichCoreBundle:SearchElement:more_button.html.twig" with {
  19. 'more_path' : path('favorite_get', {
  20. 'user_id': app.user.id,
  21. 'tags_ids_json' : '[]'
  22. }),
  23. 'more_url_path' : path('favorite_get', {
  24. 'user_id': app.user.id,
  25. 'tags_ids_json' : ''
  26. })
  27. }%}
  28. {% endif %}
  29. {% endblock %}