{% load i18n %}
{% if transit_status %}
<!--googleoff: all-->
    <div class="section">
        <div class="header">
            <h2>{% blocktrans with transit_status.service_name as service_name %}{{ service_name }} line status{% endblocktrans %}</h2>
        </div>
        <table class="content" id="transit-status">
            <thead>
                <tr>
                    <th>{% trans "Line" %}</th>
                    <th>{% trans "Status" %}</th>
                </tr>
            </thead>
            <tbody>
                {% for status in transit_status.line_statuses %}
                <tr class="{{ status.line_id }}">
                    <td class="line-name">{{ status.line_name }}</td>
                    <td class="line-status">{{ status.status }}
                    {% if status.disruption_reason %}<br/>{{ status.disruption_reason }}{% endif %}
                    </td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
<!--googleon: all-->
{% endif %}
