{% load i18n %} {# needs header when used on the player #} {% if playing == "True" %}
  • {% endif %} {% if context == "queue" %}
  • {% endif %} {# No add to queue or play now if already playing #} {% if playing != "True" and context != "queue" %}
  • {% csrf_token %}
  • {% endif %} {# download is always available #}
  • {% translate "download" %}
  • {# do no show tagger UI if on a tag page #} {% if not remove_from_tag %}
  • {% translate "manage tags" %}
  • {% endif %}
  • {% translate "more from same artist" %}
  • {# album name is available #} {% if music_file.album %}
  • {% translate "more from same album" %}
  • {% endif %} {# genre name is available #} {% if music_file.genre %}
  • {% translate "more from same genre" %}
  • {% endif %} {# favorites button toggle #}
  • {% if is_favorite %}
    {% csrf_token %}
    {% else %}
    {% csrf_token %}
    {% endif %}
  • {# if on a tag page, allow to remove from tag #} {% if remove_from_tag %}
  • {% csrf_token %}
  • {% endif %} {# if used in player, add controls and queue navigation #} {% if playing == "True" %}
  • {% translate "see queue" %}
  • {# autofeed toggle #} {% if autofeed %}
  • {% csrf_token %}
  • {% else %}
  • {% csrf_token %}
  • {% endif %} {% endif %}