{% extends 'booru/base.html' %} {% block css %} {% load static %} {% endblock %} {% block scripts %} {% endblock %} {% block body %} {% load humanize %} {% load permission_tags %} {% load crispy_forms_tags %}

{{account.username}}

{{account.groups.all.0}}
{% if account.avatar %}
{% endif %} {% comment %} {% endcomment %}
Joined {{account.date_joined|date:"Y-m-d"}}
Posts {{recent_uploads.count}}
Deleted Posts {{deleted_posts.count}}
Favorites {{account.get_favorites_count}}
Comments {{account.get_comments_count}}
Tag Edits -
Note Edits -
Forum Posts -
Record + -
{% if user|can:'change_user_group' %}

Admin tools

{% csrf_token %} {{ user_group_form |crispy }}
{% endif %}

Recent Favorites

{% if recent_favorites %} {% for post in recent_favorites|slice:":5" %} {% endfor %}
Added favorite #{{post.id}} {{post.timestamp|date:"Y/m/d f A"}}
{% else %}

No favorites have been added by this user yet!

{% endif %}

Recent Uploads

{% if recent_uploads %} {% for post in recent_uploads|slice:":5" %} {% endfor %}
Uploaded #{{post.id}} {{post.timestamp|date:"Y/m/d f A"}}
{% else %}

No posts have been added by this user yet!

{% endif %}

About myself {% if user|can:'modify_profile' %} {% endif %}

{% load markdownify %}
{% if account.about %} {{ account.about|markdownify }} {% else %}

This user have not written nothing about themselves yet!

{% endif %}
{% if request.user.show_comments %}

Comments

{% for comment in account.comments.all %}
{{comment.timestamp|naturaltime}}
Score: {{comment.get_score}}
{% load markdownify %} {{comment.content|markdownify}}
{% endfor %}
{% if not user.is_authenticated %}
{% endif %} {% csrf_token %}
{% if not user.is_authenticated %} {% else %} {% endif %}
{% if can_comment %} {% endif %} {% if not user.is_authenticated %}
{% endif %}
{% endif %} {% endblock %}