101:bb31b74cc331
Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Jul 2016 19:11:13 +0800
viewer: don't show check.started time in overview tables Considering elapsed time for checks is below 1 minute, start time is not very important. It still can be seen on check page.

next change 102:c5bfc491a942
previous change 86:f303a92328a5

templates/project.html

Permissions: -rw-r--r--

Other formats: Feeds:
{% extends "base.html" %}
{% block title %}{{ project.get_title() }}{% end %}
{% block content %}
<div class="uk-container uk-container-center uk-margin-large-top">
<h2><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></h2>
<img src="{{ project.get_url() }}/status.svg" alt="Lint Status">
{% include ui/codes.html %}
<dl class="uk-description-list-horizontal list-terse">
<dt>Clone URL:</dt>
<dd>{{ project.url }}</dd>
{% if checks %}
<dt>Last check:</dt>
<dd>{% module Time(checks[0].finished) %}</dd>
{% end %}
</dl>
<table class="uk-table uk-table-middle uk-text-nowrap">
<tbody>
{% for check in checks %}
{% set change = check.change %}
<tr>
<td>{% module Badges(check) %}</td>
<td><a href="{{ check.get_url() }}">check #{{ check.ordinal }}</a></td>
<td>{{ change.rev }}:{{ change.node[:12] }} {{ change.branch }}</td>
<td class="uk-text-break">
<div>{{ change.message }}</div>
<div>{{ change.author }}, {% module Time(change.date, False) %}</div>
</td>
<td>{% module Time(check.finished) %}</td>
<td>{{ check.get_duration() }}</td>
</tr>
{% end %}
</tbody>
</table>
</div>
{% end %}