{% extends "dictionary/base.html" %} {% load filters functions i18n %} {% block title %}{% trans "user" %}: {{ profile.username }}{% if tab.name != "latest" %} - {{ tab.label }}{% endif %}{% if page_obj.number > 1 %} - {% trans "page" %} {{ page_obj.number }}{% endif %}{% endblock %} {% block bodyclass %} has-entries{% endblock %} {% block bodyattr %}{% if user.is_authenticated and user.pinned_entry_id %} data-pin="{{ user.pinned_entry_id }}"{% endif %}{% endblock %} {% block content %} {% load humanize %}

{{ profile.username }} {% with gen=profile.generation %} {% if gen %} {% blocktrans with user_type=profile.is_novice|yesno:_("novice,author") gen_ordinal=gen|ordinal %}{{ gen_ordinal }} generation {{ user_type }}{% endblocktrans %} {% endif %} {% endwith %}

{% if user.is_authenticated and user != profile %} {% endif %} {% if profile.is_suspended and user == profile %} {% url "general-report" as report_url %} {% endif %} {% if profile.pinned_entry_id %} {% with profile.pinned_entry as entry %} {% include "dictionary/includes/profile_entry_pinned.html" %} {% endwith %} {% else %} {% with profile.entry_nice as entry %} {% if entry %} {% include "dictionary/includes/profile_entry_pinned.html" %} {% endif %} {% endwith %} {% endif %}
{% with object_count=page_obj.paginator.count %}

{{ tab.label }}{% if object_count %} ({{ object_count }}){% endif %} {% if page_obj.number > 1 %} - {% trans "page" %} {{ page_obj.number }} {% endif %}

{% if tab.type == "entry" %} {% trans "navigate to the topic list" %} {% endif %}
{% if object_count > 0 %} {% if tab.type == "entry" %}
{% endif %} {% if tab.type == "author" %} {% endif %} {% if tab.type == "topic" %} {% endif %} {% if tab.type == "category" %} {% endif %} {% else %} {% trans "nothing here" %} {% endif %} {% endwith %}
{% include "dictionary/includes/paginaton.html" with paginator=page_obj stretch="yes" index="yes" %}
{% if user.is_authenticated %} {% include "dictionary/includes/send_message_modal.html" %} {% include "dictionary/includes/block_user_modal.html" %} {% endif %} {% endblock %} {% block rightframe %} {% if user.is_authenticated %}
{% load widget_tweaks %} {% blocktrans asvar text_placeholder with username=profile.username %}your thoughts about the user '{{ username }}'{% endblocktrans %} {% render_field form.body placeholder=text_placeholder name="memento" class="form-control" rows="10" id="memento" %} {% csrf_token %}
{% endif %} {% endblock %}