OXYGENHUB
# 99ca93d60bca oxygenhub / templates / pushes.html
906 B · HTML · last changed Milestone 0.1: browse 1 month ago source blame history raw
1
{% extends "base.html" %}
2
{% import "repo_tabs.html" as m %}
3
{% block title %}Pushes · {{ repo.owner }}/{{ repo.name }}{% endblock %}
4
{% block bodyattrs %} data-repo="{{ repo.url }}"{% endblock %}
5
{% block tabs %}{% call m::tabs(repo, "pushes") %}{% endblock %}
6
{% block content %}
7
<div class="head"><h1>Pushes <small>every reference update the hub accepted or refused</small></h1></div>
8
{% if pushes.is_empty() %}<p class="empty">Nothing has been pushed yet.</p>{% else %}
9
<div class="table"><table>
10
<tr><th>When</th><th>Reference</th><th>Result</th></tr>
11
{% for p in pushes %}
12
<tr><td><time title="{{ p.at_ms|when_i }}">{{ p.at_ms|ago_i }}</time></td><td class="px">{{ p.reference }}</td><td>{% if p.ok %}<span class="sig sig-valid">✔</span> accepted{% else %}<span class="sig sig-invalid">✘</span> refused: {{ p.reason }}{% endif %}</td></tr>
13
{% endfor %}
14
</table></div>
15
{% endif %}
16
{% endblock %}