{% include "_nav.html" %}
{% if is_public %}👤{% else %}⭐{% endif %}
{% if is_public %}

{{ profile_user.username }}

Зарегистрирован {{ profile_user.created_at.strftime('%d.%m.%Y') }}

{% else %}

{{ user.username }}

Ваш профиль и инвентарь

{% endif %}
{{ total_items }}
Предметов
{{ cases_opened }}
Открыто кейсов
{{ contracts_completed }}
Контрактов
{% if not is_public %}
{{ balance|money }} ₽
Баланс
{% endif %}
🎒 Инвентарь — {{ inventory_items|length }} предметов
{% if not is_public and inventory_items %}
{% endif %} {% if inventory_items %}
{% for item in inventory_items %}
{% if not is_public %} {% endif %}
{{ item.name }}
{{ item.name }}
{{ item.rarity }} Float: {{ "%.6f"|format(item.float) }}
{{ item.type }} {{ item.wear }}
💰 {{ (item.price_rub)|money }} ₽
{% if not is_public %}
{% endif %}
{% endfor %}
{% else %}
📭

Инвентарь пуст

{% if is_public %}

У пользователя пока нет предметов.

{% else %}

Откройте кейсы, чтобы получить первые предметы!

Открыть кейсы {% endif %}
{% endif %}
{% if not is_public %} {% endif %}
📦 Последние открытия
{% for opening in recent_openings %}
📦
{{ opening.item_name }}
{{ opening.rarity }} Float: {{ "%.4f"|format(opening.float_value) }} {{ opening.opened_at.strftime('%d.%m.%Y %H:%M') }}
{% else %}
Пока нет открытий
{% endfor %}
🔄 Последние контракты
{% for contract in recent_contracts %}
🔄
{{ contract.output_item_name }}
Float: {{ "%.4f"|format(contract.output_float) }} {{ contract.created_at.strftime('%d.%m.%Y %H:%M') }}
{% else %}
Пока нет контрактов
{% endfor %}
{% if not is_public %}{% include '_activity_sidebar.html' %}{% endif %}