| 1 |
{% extends "base.html" %} |
| 2 |
{% import "diffusion_rows.html" as d %} |
| 3 |
{% block title %}Diffusion · Administration{% endblock %} |
| 4 |
{% block mainclass %} class="wide"{% endblock %} |
| 5 |
{% block content %} |
| 6 |
<div class="head"><h1>Diffusion <small>{{ upstreams.len()|plural("upstream", "upstreams") }} · <a href="/admin">Administration</a></small></h1></div> |
| 7 |
<p class="small mute df-key"><span class="df-chip df-green">green</span> checked upstream, passed in the consumer · <span class="df-chip df-amber">amber</span> passed, upstream has no checks · <span class="df-chip df-red">red</span> the consumer's run failed · <span class="df-chip df-grey">testing</span> running · <span class="df-chip df-current">up to date</span></p> |
| 8 |
{% if upstreams.is_empty() %}<p class="empty">No repository on this hub is pinned by another yet.</p>{% endif %} |
| 9 |
{% for (up, list, unverified) in upstreams %} |
| 10 |
<h2><a href="/{{ up.owner }}/{{ up.name }}/diffusion">{{ up.owner }}/{{ up.name }}</a> <small>{{ list.len()|plural("consumer", "consumers") }}{% if *unverified %} · <span class="df-chip df-amber">no checks of its own</span>{% endif %}</small></h2> |
| 11 |
{% call d::rows(list) %} |
| 12 |
{% endfor %} |
| 13 |
{% endblock %} |