{% load djblets_deco %}
{% load djblets_utils %}
{% load i18n %}
{% load reviewtags %}
{% load staticfiles %}

{% ifneatnumber review_request.display_id %}
{%  box "yay" %}
{%   definevar "trophyimg" %}rb/images/{% if milestone %}trophy{% else %}fish-trophy{% endif %}.png{% enddefinevar %}
 <img src="{% static trophyimg %}" width="32" height="48" border="0" alt="" />
 <h1>{% blocktrans with review_request.submitter|user_displayname as submitter and review_request.id as id %}{{submitter}} got review request #{{id}}!{% endblocktrans %}</h1>
{%  endbox %}
{% endifneatnumber %}


{% load djblets_deco %}
{% load djblets_utils %}
{% load i18n %}
{% load reviewtags %}
{% load staticfiles %}

{% ifneatnumber review_request.display_id %}
{%  box "yay" %}
{%   definevar "trophyimg" %}rb/images/{% if milestone %}trophy{% else %}fish-trophy{% endif %}.png{% enddefinevar %}
 <img src="{% static trophyimg %}" width="32" height="48" border="0" alt="" />
 <h1>{% blocktrans with review_request.submitter|user_displayname as submitter and review_request.display_id as id %}{{submitter}} got review request #{{id}}!{% endblocktrans %}</h1>
{%  endbox %}
{% endifneatnumber %}


Fix display_id usage in the trophy box.
Fix display_id usage in the trophy box.

The trophy box was using the review request's display_id to compute whether to
display, but was using id for the text displayed on the page.

Fixes bug 3037.
