{% load i18n ui %}{% comment %} The file read on the New station page (#201): its name, the years and days read, Replace (a file button inside the page's form, js/setup.js; without JavaScript a file input and "Read the file"), then the days with data in each year, a bar a year, amber when the year misses more than 15 days. Parameters: file_name, summary (station_file.summarise), field (the form's file field), strip (views.year_strip), focus_file (focus the card when the page loads). {% endcomment %}
{{ file_name }} {% icon "check" %}{% blocktranslate with first=summary.first_year last=summary.last_year days=summary.days|count %}Read: {{ first }}–{{ last }}, {{ days }} days{% endblocktranslate %}

{% translate "Choosing another file reads it at once. The details you typed are kept." %}

{% if strip %}
{% for bar in strip.bars %}{{ bar.year }}{% endfor %}
{% if strip.gaps %}{% translate "Days with data in each year. Amber years have gaps of more than 15 days." %}{% else %}{% translate "Days with data in each year. No year has a gap of more than 15 days." %}{% endif %}
{% endif %}