Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Jul 2016 19:05:11 +0800
viewer: request light fields when using just metadata from Check
/ and project pages just link to checks, so the heavier text fields like
Check.lines aren't actually important, and can be excluded from SELECT for a
nice performance boost.
templates/ui/badges.html
Permissions: -rw-r--r--
{% if not check.success %} <span class="uk-badge uk-badge-unknown uk-text-large" title="checking failed">?
</span> {% elif check.errors or check.warnings %} <span class="uk-badge uk-badge-danger uk-text-large" title="{{ locale.translate('{} error', '{} errors', check.errors).format(check.errors) }}"> <span class="uk-badge uk-badge-warning uk-text-large" title="{{ locale.translate('{} warning', '{} warnings', check.warnings).format(check.warnings) }}"> <span class="uk-badge uk-badge-success uk-text-large" title="no lint found">OK
</span>