{% set pct = ((log_file.processed_lines / log_file.total_lines) * 100) if log_file.total_lines else None %}
{{ log_file.filename }} {% if pct is not none %}{{ pct | round(0) | int }}%{% else %}analyzing…{% endif %}

{{ "{:,}".format(log_file.processed_lines) }}{% if log_file.total_lines %} / {{ "{:,}".format(log_file.total_lines) }}{% endif %} lines