Skip to content
Snippets Groups Projects
Commit e4f42e87 authored by Hanne Moa's avatar Hanne Moa
Browse files

Twigified modules/sanitycheck

This module is hereby twigified. For #499.
parent 09203318
No related branches found
No related tags found
No related merge requests found
{% extends "base.twig" %}
{% set pagetitle = 'Sanity check' %}
{% block content %}
<h2>{{ pagetitle }}</h2>
{% if errors %}
<div style="border: 1px solid #800; background: #caa; margin: 1em; padding: .5em">
<p><img class="float-r" src="/{{ baseurlpath }}resources/icons/silk/delete.png" alt="Failed" />
These checks failed:</p>
<ul>
{% for err in errors %}
<li>{{ err }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if info %}
<div style="border: 1px solid #ccc; background: #eee; margin: 1em; padding: .5em">
<p><img class="float-r" src="/{{ baseurlpath }}resources/icons/silk/accept.png" alt="OK" />
These checks succeeded:</p>
<ul>
{% for i in info %}
<li>{{ i }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment