Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 18:56:40 +0800
tests: test index page and a non-existent page that gives 404
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.name }}</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, (cls, line) in enumerate(lines, 1) %}{# #}<div id="l{{ number }}"{% if cls %} class="{{ cls }}"{% end %}>{# #}<a href="#l{{ number }}" data-line-number="{{ number }}"></a>{#