{% extends "suite-base.html" %} {% block title_name %}file view{% endblock %} {% block content %}
{% for i in range(1, lines|length + 1) -%}
{{i}}
{% endfor -%}
{% for line in lines -%}
{% if not file_content -%}
{% set line = line | replace(
    'DEBUG', 'DEBUG') | replace(
    'INFO', 'INFO') | replace(
    'ERROR', 'ERROR') | replace(
    'CRITICAL', 'CRITICAL') | replace(
    'WARNING', 'WARNING') -%}
{% endif -%}
{% if mode == "tags" -%}
{{line}}
{% else -%}
{{line|urlise}}
{% endif -%}
{% endfor -%}
{% endblock %}