{% load i18n ui %}{% comment %}How long a station's workspace is kept (#73's retention setting, per workspace since #231). Parameters: analysis (optional); quiet: a line of small muted text at the foot of the page instead of an info alert, for the pages after the upload, which shows the full notice (#173). With workspace expiry off (local), the workspace stays until deleted.{% endcomment %} {% if not workspace_expiry %} {% translate "Your file, details and results stay on this computer until you delete them." as retention %} {% elif analysis and quiet %} {% blocktranslate with date=analysis.expires_at|date:"j F Y" asvar retention trimmed %} Your file, details and results are deleted on {{ date }} unless you change them. {% endblocktranslate %} {% elif analysis %} {% blocktranslate count days=job_retention_days with date=analysis.expires_at|date:"j F Y" asvar retention trimmed %} Your file, station details and results are kept for {{ days }} day after your last change (until {{ date }} unless you change them), then deleted. {% plural %} Your file, station details and results are kept for {{ days }} days after your last change (until {{ date }} unless you change them), then deleted. {% endblocktranslate %} {% else %} {% blocktranslate count days=job_retention_days asvar retention trimmed %} Your file and results are kept for {{ days }} day after your last change, then deleted. {% plural %} Your file and results are kept for {{ days }} days after your last change, then deleted. {% endblocktranslate %} {% endif %} {% if workspace_expiry %}{% if is_hosted %}{% translate "Only this browser can see them." as extra %}{% else %}{% translate "They stay on this computer." as extra %}{% endif %}{% endif %} {% if quiet %}

{% icon "lock" %}{{ retention }}{% if extra %} {{ extra }}{% endif %}

{% elif extra %}{% include "components/alert.html" with kind="info" title="" message=retention|add:" "|add:extra %} {% else %}{% include "components/alert.html" with kind="info" title="" message=retention %}{% endif %}