{% extends 'musette/base_musette.html' %} {% load i18n %} {% load static %} {% load forum_tags %} {% block content %}
{% if user != profile.iduser %} {% if not profile.iduser.is_superuser and profile.iduser|get_total_forum_moderator == 0 %} {% if user|get_total_forum_moderator > 0 or user.is_superuser %} {% if not profile.is_troll %}
{% csrf_token %}
{% endif %} {% endif %} {% endif %} {% endif %} {% if profile.is_troll %}

{% trans "It is a troll" %}

{% if user != profile.iduser and user.is_superuser %}
{% csrf_token %}
{% endif %} {% endif %}

{{ profile.iduser.first_name }} {{ profile.iduser.last_name }}

{% trans "Joined" %} {{ profile.iduser.date_joined.date }}
{% trans "Last Seen" %} {% if profile.last_seen %} {{ profile.last_seen|timesince }} {% else %} {% trans "a while ago" %} {% endif %}
{% if profile.online %}
Online
{% else %}
Offline
{% endif %}
{% if profile.iduser.id == user.id and not profile.is_troll %}
{% endif %}

{% trans "About me" %}

{{ profile.about|default_if_none:''|safe }}
{% if model_profile_is_extend %} {% with app|add:"/profile.html" as template %} {% include template %} {% endwith %} {% endif %}

{% if topics %}
{% for topic in topics %} {% endfor %}
{% trans "Title" %} {% trans "Forum" %} {% trans "Date" %}
{{ topic.title }} {{topic.forum.name }} {{topic.date.date }}
{% endif %}
{% endblock %}