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

{{ _('Price & stock history') }}

{% if restock_latest %}
{% if restock_latest.in_stock is not none %} {{ _('In stock') if restock_latest.in_stock else _('Out of stock') }} {% endif %} {% if restock_latest.price is not none %} {{ restock_currency }}{{ restock_latest.price }} {% endif %}
{% endif %}
{% if has_enough_history %}

{{ _('Loading price history…') }}

{# Full data table, shown by default. Rows are filled by the graph JS from the same fetched data; the XLSX export is generated server-side for correct number formats. #}
{{ _('Price history') }} {{ _('Download as XLSX') }}
{{ _('When') }} {{ _('Stock') }} {{ _('Price') }}
{% else %}

{{ _('Not enough price data points yet to draw a graph - keep monitoring and the price history will appear here.') }}

{% endif %}
{% if screenshot %}
{{ watch.snapshot_screenshot_ctime|format_timestamp_timeago }}
{{ _('Current screenshot from most recent request') }} {% else %}

{{ _('No screenshot available just yet! Try rechecking the page.') }}

{% endif %}
{% endblock %}