diff --git a/core/templates/core/user_detail.jinja b/core/templates/core/user_detail.jinja
index a48dde06..d7146a73 100644
--- a/core/templates/core/user_detail.jinja
+++ b/core/templates/core/user_detail.jinja
@@ -244,9 +244,9 @@
- {% else %}
- {% trans %}No gift given yet{% endtrans %}
- {% endif %}
+ {% else %}
+ {% trans %}No gift given yet{% endtrans %}
+ {% endif %}
{% endif %}