Anton Shestakov <av6@dwimlabs.net>, Tue, 28 Jun 2016 18:52:52 +0800
viewer: setup and clone tasks without errors/warnings are collapsed by default
In addition to errors and warnings, which leave task expanded, target line also
does the same, so sharing a link to a specific line doesn't surprise people by
hiding the line somewhere.
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>