{% extends 'base.html' %} {% from 'macros.html' import show_avg_rating, entity_rate_form, show_external_reviews, show_review_buttons with context %} {% from 'common.html' import rating_script with context %} {% block title %} {{ _('Recording "%(name)s" by %(artist)s', name=recording.name, artist=recording['artist-credit-phrase']) }} - CritiqueBrainz {% endblock %} {% block content %}

{{ recording.name }} {{ _('by') }} {% for credit in recording['artists'] %} {% if credit.name %} {{ credit.name }} {% if credit.join_phrase is defined %}{{ credit.join_phrase }}{% endif %} {% endif %} {% endfor %}

{{ show_review_buttons(id, my_review, "recording") }}
{{ entity_rate_form('recording', 'recording') }}

{{ _('Reviews') }}

{% if not reviews %}

{{ _('No reviews found') }}

{% else %} {% for review in reviews %} {% endfor %}
{{ _('Published on') }} {{ _('Votes (+/-)') }}
{{ _('by %(reviewer)s', reviewer=review.user.display_name) }} {{ review.published_on | date }} {{ review.votes_positive_count }}/{{ review.votes_negative_count }}
{% endif %}

{{ _('Recording information') }}

{% if avg_rating %}
{{ show_avg_rating(avg_rating.rating, avg_rating.count) }}
{% endif %} {% if external_reviews %} {{ _('External reviews') }} {% endif %} {% if recording['external-urls'] is defined %} {{ _('External links') }} {% endif %}
{% endblock %} {% block scripts %} {{ rating_script }} {% endblock %}