{% load i18n %}

{% for j in scenarios %} {% with mystatus=j.status|lower %} {% endwith %} {% endfor %}
{% trans 'scenario'|capfirst %} {% trans 'action'|capfirst %} In use: Contains data
Free: Available to copy data into
Busy: Data copy in progress" %}"> {% trans 'status'|capfirst %}
{% trans 'label'|capfirst %} {% trans 'last modified'|capfirst %}
{{j.name|capfirst}} {% if j.name != DEFAULT_DB_ALIAS and j.status == 'Free' and perms.common.copy_scenario %}
{% elif j.name != DEFAULT_DB_ALIAS and j.status == 'In use'%} {% if perms.common.release_scenario or perms.common.promote_scenario %}
{% endif %} {% endif %}
{% trans mystatus|capfirst %} {{j.lastrefresh|date:"Y-m-d G:i:s"}}