66:db31e73bde12
Anton Shestakov <av6@dwimlabs.net>, Sat, 25 Jun 2016 18:16:39 +0800
models: drop Check.raw field (not worth storing in the same table) Replaying checks can be done (and is easier) when storing checker output in plain files, so let's lighten up the load on the database.

previous change 24:16c6f6907c16

templates/ui/badges.html

Permissions: -rw-r--r--

Other formats: Feeds:
{% if not check.success %}
<span class="uk-badge uk-badge-unknown uk-text-large" title="checking failed">?</span>
{% elif check.errors or check.warnings %}
{% if check.errors %}
<span class="uk-badge uk-badge-danger uk-text-large"
title="{{ locale.translate('{} error', '{} errors', check.errors).format(check.errors) }}">
{{ check.errors }}
</span>
{% end %}
{% if check.warnings %}
<span class="uk-badge uk-badge-warning uk-text-large"
title="{{ locale.translate('{} warning', '{} warnings', check.warnings).format(check.warnings) }}">
{{ check.warnings }}
</span>
{% end %}
{% else %}
<span class="uk-badge uk-badge-success uk-text-large" title="no lint found">OK</span>
{% end %}