Skip to content

Commit

Permalink
feat: Add title for Edition Group page and its reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
anshg1214 committed Jul 25, 2022
1 parent 39588dc commit e1b1c93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% from 'macros.html' import show_avg_rating, entity_rate_form, show_review_buttons with context %}
{% from 'common.html' import rating_script with context %}

{% block title %}{{ edition_group.name }} - CritiqueBrainz{% endblock %}

{% block content %}
<div class="clearfix">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

{% set bb_edition_group = entity %}

{% block title %}
{{ _('Review of "%(edition_group)s" by %(user)s', edition_group=bb_edition_group.name, user=review.user.display_name) }} - CritiqueBrainz
{% endblock %}

{% block entity_title %}
<h2 id="title">
{% set edition_group_name = '<a href="%s">' | safe % url_for('bb_edition_group.entity', id=review.entity_id) ~ bb_edition_group.name ~ '</a>'|safe %}
Expand Down

0 comments on commit e1b1c93

Please sign in to comment.