{% if is_public %}👤 {{ profile_user.username }}{% else %}👤 {{ user.username }}{% endif %}

{% if is_public %}

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

{% else %}

Добро пожаловать в ваш профиль

{% endif %}
{{ total_items }}
Предметов
{{ cases_opened }}
Открыто кейсов
{{ contracts_completed }}
Контрактов
{% if not is_public %}
{{ "%.2f"|format(user.balance) }} ₽
Баланс
{% endif %}

🏆 Ценные предметы

{% set target_items = valuable_items %} {% for item in target_items %}
{{ item.market_hash_name }}
{{ item.rarity }} Float: {{ "%.4f"|format(item.float_value) }}
{% else %}

У {% if is_public %}этого пользователя{% else %}вас{% endif %} пока нет предметов.

{% endfor %}

📦 Последние открытия

{% 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) }} Шанс: {{ "%.2f"|format(contract.probability) }}% {{ contract.created_at.strftime('%d.%m.%Y %H:%M') }}
{% else %}

Пока нет контрактов

{% endfor %}
{% if user and not is_public %}{% include '_activity_sidebar.html' %}{% endif %}