{% extends "base.html" %}

{% block body %}
    <h3>{{ linter }} recent error summary <small>since {{ since }}</small></h3>

    <p>
        Some of these may be false-positives. You should review closely before
        taking action.
    </p>

    <table class="table table-striped">
        <thead>
            <th># of affected certificates</th>
            <th>CA</th>
            <th>CCADB Owner</th>
            <th>Severity</th>
            <th>Description</th>
        </thead>
        <tbody>
            {% for summary in lint_summaries %}
                <tr>
                    <td>
                        <a href="https://crt.sh/?{{ linter.lower() }}={{ summary.lint_id }}&iCAID={{ summary.ca_id }}&minNotBefore={{ summary.oldest_not_before.date() }}">
                            {{ summary.count }}
                        </a>
                    </td>
                    <td>
                        <a href="https://crt.sh/?caid={{ summary.ca_id }}&opt={{ linter.lower() }}">
                            {{ summary.ca_name }}
                        </a>
                    </td>
                    <td>{{ " / ".join(summary.ccadb_owners) }}</td>
                    <td>{{ summary.lint_severity }}</td>
                    <td>{{ summary.lint_description }}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}

{% extends "base.html" %}

{% block body %}
    <h3>{{ linter }} recent error summary <small>since {{ since }}</small></h3>

    <p>
        Some of these may be false-positives. You should review closely before
        taking action.
    </p>

    <table class="table table-striped">
        <thead>
            <th># of affected certificates</th>
            <th>CA</th>
            <th>CCADB Owner</th>
            <th>Severity</th>
            <th>Description</th>
        </thead>
        <tbody>
            {% for summary in lint_summaries %}
                <tr>
                    <td>
                        <a href="https://crt.sh/?{{ linter.lower() }}={{ summary.lint_id }}&iCAID={{ summary.ca_id }}&minNotBefore={{ summary.oldest_not_before.date() }}&exclude=expired">
                            {{ summary.count }}
                        </a>
                    </td>
                    <td>
                        <a href="https://crt.sh/?caid={{ summary.ca_id }}&opt={{ linter.lower() }}">
                            {{ summary.ca_name }}
                        </a>
                    </td>
                    <td>{{ " / ".join(summary.ccadb_owners) }}</td>
                    <td>{{ summary.lint_severity }}</td>
                    <td>{{ summary.lint_description }}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}

Exclude expired certs. Thanks @dreid!
Exclude expired certs. Thanks @dreid!
