196:7a05eb159087
Anton Shestakov <av6@dwimlabs.net>, Sat, 30 Jul 2016 17:47:09 +0800
queue: print a usable URL in the 'serving on' log line

next change 239:d63d57df465c
previous change 120:21ef016ac29d

templates/index.html

Permissions: -rw-r--r--

Other formats: Feeds:
{% extends "base.html" %}
{% block title %}Recently checked projects{% end %}
{% block content %}
<div class="uk-container uk-container-center uk-margin-large-top">
<h2>Recently checked projects</h2>
<table class="uk-table uk-table-middle uk-text-nowrap">
<tbody>
{% for check in checks %}
{% set project = check.project %}
{% set change = check.change %}
{% set adapter = project.get_adapter() %}
<tr>
<td>{% module Badges(check) %}</td>
<td class="uk-width-1-1 uk-text-break"><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></td>
<td><a href="{{ project.get_url() }}/{{ check.ordinal }}">check #{{ check.ordinal }}</a></td>
<td><a href="{{ adapter.get_branch_url(change) }}">{{ change.branch }}</a></td>
<td><a href="{{ adapter.get_commit_url(change) }}">{% if change.rev is not None %}{{ change.rev }}:{% end %}{{ change.node[:12] }}</a></td>
<td>{% module Time(check.finished) %}</td>
<td>{{ check.get_duration() }}</td>
</tr>
{% end %}
</tbody>
</table>
</div>
{% end %}