{% if settings.SIDEBAR_PROFILE and 'SIDEBAR_PROFILE'|show_block_to(request.user) %} {% extends "two_column_body.html" %} {% else %} {% extends "one_column_body.html" %} {% endif %} {% block title %}{{ page_title }}{% endblock %} {% block layout_class %}{{ super() }} user-profile-page{% endblock %} {% block content %}

{% trans username=view_user.username|escape %}{{username}}'s profile{% endtrans %} - {% block profilesection %}{% endblock %} {% if request.user.is_authenticated and request.user.pk == view_user.pk and settings.USE_ASKBOT_LOGIN_SYSTEM %} {% set next_jwt=encode_jwt({'next_url': settings.LOGOUT_REDIRECT_URL}) %} ({% trans %}sign out{% endtrans %} {%- if settings.USE_ASKBOT_LOGIN_SYSTEM and settings.ALLOW_ADD_REMOVE_LOGIN_METHODS %} | {% trans %}manage logins{% endtrans -%} {%- endif -%}) {% endif %}

{% include "user_profile/user_tabs.html" %}
{% block usercontent %} {% endblock %}
{% endblock %} {% block endjs %} {% if settings.EDITOR_TYPE == 'tinymce' %} {% include "editors/tinymce_scripts.html" %} {% endif %} {% compress js %} {% include "meta/markdown_javascript.html" %} {% endcompress %} {% block userjs %} {% endblock %} {% endblock %} {% block sidebar %} {% if settings.SIDEBAR_PROFILE and 'SIDEBAR_PROFILE'|show_block_to(request.user) %} {% endif %} {% endblock %}