Anton Shestakov <av6@dwimlabs.net>, Thu, 23 Jun 2016 23:01:48 +0800
incoming: make initial state = None
templates/check.html
Permissions: -rw-r--r--
{% extends "base.html" %} {% block title %}Check #
{{ check.ordinal }}{% end %} <div class="uk-container uk-container-center uk-margin-large-top"> <a href="{{ project.get_url() }}">{{ project.get_title() }}</a>:
check #
{{ check.ordinal }} {{ locale.translate('{} error', '{} errors', check.errors).format(check.errors) }},
{{ locale.translate('{} warning', '{} warnings', check.warnings).format(check.warnings) }} <div class="uk-width-medium-1-3"> <dl class="uk-description-list-horizontal list-terse"> <dd>{% module Time(check.started) %}</dd> <dd>{% module Time(check.finished) %}</dd> <dd>{{ check.get_duration() }}</dd> <div class="uk-width-medium-2-3"> <dl class="uk-description-list-horizontal list-terse"> {% set change = check.change %} <dd>{{ change.rev }}:
{{ change.node[:12] }} {{ change.branch }}</dd> <dd>{{ change.author }}</dd> <dd><time>{{ change.date }}</time></dd> <dd>{{ change.message }}</dd> <pre class="check-log">{# #}{% for number, line in enumerate(lines, 1) %}{# #}<div id="l{{ number }}"{% if 'cls' in line %} class="{{ line['cls'] }}"{% end %}>{# #}<a href="#l{{ number }}" class="lineno" data-line-number="{{ number }}"></a>{#