{% extends "user.html" %} {% block usercontent %} {% if request.user != view_user %}

{% trans username=view_user.username, status=view_user.get_status_display() %}{{username}}'s current status is "{{status}}"{% endtrans %}

{% if user_status_changed %}

{% trans %}User status changed{% endtrans %}

{% endif %}
{{ change_user_status_form.as_table() }}
{% endif %}

{% if request.user == view_user %} {% trans reputation=view_user.reputation %}Your current reputation is {{reputation}} points{% endtrans %} {% else %} {% trans reputation=view_user.reputation %}User's current reputation is {{reputation}} points{% endtrans %} {% endif %}

{% if user_rep_changed %}

{% trans %}User reputation changed{% endtrans %}

{% endif %}
{{ change_user_reputation_form.as_table() }}
 
{% if request.user != view_user %}

{% trans username=view_user.username %}Send message to {{username}}{% endtrans %}

{% trans %}An email will be sent to the user with 'reply-to' field set to your email address. Please make sure that your address is entered correctly.{% endtrans %}

{% if message_sent %}

{% trans %}Message sent{% endtrans %}

{% endif %}
{% if send_message_form.subject_line.errors %}

{{send_message_form.subject_line.errors|join(', ')}}

{% endif %} {{ send_message_form.subject_line}}
{% if send_message_form.body_text.errors %}

{{send_message_form.body_text.errors|join(', ')}}

{% endif %} {{ send_message_form.body_text}}
{% endif %} {% endblock %}