{% load static %}
<table class="table table-bordered table-hover table-striped" id="runs_table">
    <thead>
        <tr>
            <th>Id</th>
            <th>Test Name</th>
            <th>User</th>
            <th>Start</th>
            <th>End</th>
            <th>Environment</th>
            <th>Status</th>
            <th>Output</th>
        </tr>
    </thead>
    <tbody>
        {% for run in runs_list %}
        <tr class="{% if run.status.id == 1 %}active{% elif run.status.id == 2 %}danger{% elif run.status.id == 3 %}success{% else %}warning{% endif %}">
            <td>{{ run.id }}</td>
            <td>{{ run.test.name }}</td>
            <td>{{ run.user.name }}</td>
            <td>{% if run.start %}{{ run.start }}{% else %}{% endif %}</td>
            <td>{% if run.end %}{{ run.end }}{% else %}{% endif %}</td>
            <td>{{ run.environment.description }}</td>
            <td>{{ run.status.value|upper }}</td>
            <td><a target="_blank" href="{% static 'runs/logs' %}{{ run.id }}.txt">View</a></td>
        </tr>
        {% endfor %}
    </tbody>
</table>


{% load static %}
<table class="table table-bordered table-hover table-striped" id="runs_table">
    <thead>
        <tr>
            <th>Id</th>
            <th>Test Name</th>
            <th>User</th>
            <th>Start</th>
            <th>End</th>
            <th>Environment</th>
            <th>Status</th>
            <th>Output</th>
        </tr>
    </thead>
    <tbody>
        {% for run in runs_list %}
        <tr class="{% if run.status.id == 1 %}active{% elif run.status.id == 2 %}danger{% elif run.status.id == 3 %}success{% else %}warning{% endif %}">
            <td>{{ run.id }}</td>
            <td>{{ run.test.name }}</td>
            <td>{{ run.user.name }}</td>
            <td>{% if run.start %}{{ run.start }}{% else %}{% endif %}</td>
            <td>{% if run.end %}{{ run.end }}{% else %}{% endif %}</td>
            <td>{{ run.environment.description }}</td>
            <td>{{ run.status.value|upper }}</td>
            <td><a target="_blank" href="{% static 'runs/logs/' %}{{ run.id }}.txt">View</a></td>
        </tr>
        {% endfor %}
    </tbody>
</table>


Fix invalid path to log files
Fix invalid path to log files
