{% extends "base.html" %} {% block content %}

{{ _('Spiel bearbeiten') }}

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message|safe }}
{% endfor %}
{% endif %} {% endwith %}
{{ _('For GOG games: Enter the Steam AppID here to enable price tracking.') }}
🔄 {{ _('External Data') }}
{% if game.release_date %}
{{ _('Release Date:') }} {{ game.release_date|strftime('%d.%m.%Y') }}
{% endif %} {% if game.current_price %}
{{ _('Now') }}
{{ "%.2f"|format(game.current_price) }} €
{% endif %} {% if game.historical_low %}
{{ _('Hist. Low') }}
{{ "%.2f"|format(game.historical_low) }} €
{% endif %} {% if game.itad_slug %} 🔗 {{ _('View on IsThereAnyDeal') }} {% endif %}
{% if game.status == 'geschenkt' %}
{{ _('Redeem-Link') }}
{% for token in game.redeem_tokens if not token.is_expired() %}
{{ _('Expires at') }}: {{ token.expires.astimezone(local_tz).strftime('%d.%m.%Y %H:%M') }} {% else %}

{{ _('No active redeem links') }}

{% endfor %}
{% endif %}
{% endblock %}