{% if version is null and logfile.versionExists('') %}
{% set version = '' %}
{% endif %}
{{ logfile.getTask().getName() }} (task id {{ logfile.getTask.getId() }})
{% if version is not null %}
version {{ version ? version : "(now)" }}
{% endif %}
{% for v in logfile.getVersions() | sort | reverse %}
{{ v ? v : "(now)" }}
{% endfor %}
{% if version is not null %}