{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% trans "Link Checker Results" %}{% endblock %} {% block bodyclass %}menu-linkchecker{% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title="Link Checker" icon="link" %}
{% if scan.links.non_scanned_links.exists %}

{% blocktrans %}Links To Be Scanned {% endblocktrans %}

{% for link in scan.links.non_scanned_links %}

{{link}}{% if link.page_is_deleted %} - {% blocktrans %}PAGE CONTAINING LINK WAS DELETED{% endblocktrans %}{% endif %}

{% endfor %} {% endif %}

{% blocktrans %}Results{% endblocktrans %}


{% blocktrans %}Broken Links{% endblocktrans %}

{% if scan.links.broken_links.exists %} {% for link in scan.links.broken_links.all %}

{{link}}{% if link.page %} - {% blocktrans %}Edit page containing this link{% endblocktrans %}{% endif %} {% if link.status_code %}
{% blocktrans %}Status Code{% endblocktrans %}: {{link.status_code}}{% endif %} {% if link.error_text %}
{% blocktrans %}Error{% endblocktrans %}: {{link.error_text}}{% endif %} {% if link.page_is_deleted %}
{% blocktrans %}Info: PAGE CONTAINING THIS LINK WAS DELETED{% endblocktrans %}{% endif %}

{% endfor %} {% else %}

{% blocktrans %}Congratulations, there are no broken links!{% endblocktrans %}

{% endif %}

Working Links

{% if scan.links.working_links.exists %} {% for link in scan.links.working_links.all %}

{{link}}{% if link.page_is_deleted %} - {% blocktrans %}PAGE CONTAINING LINK WAS DELETED {% endblocktrans %}{% endif %}

{% endfor %} {% else %}

{% blocktrans %}There are no working links!{% endblocktrans %}

{% endif %} {% blocktrans %}Back{% endblocktrans %}
{% endblock %}