summaryrefslogtreecommitdiffstats
path: root/templates/package.html
blob: ded5e1c91b42e93f59d6f2aa75e2cedf973a242d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "base.html" %}
{% block content %}
<h1>{{ name }}</h1>
<p class="mut">{{ summary }}</p>
<div class="card">
<form class="inline" method="post" action="/packages/{{ name }}/rebuild">
<input type="hidden" name="csrf" value="{{ page.csrf }}">
<button type="submit">Rebuild current version</button></form>
<span class="mut">Rebuilds reuse the approved source identity and need no new approval (I6).</span>
{% if can_withdraw %}
<form class="inline" method="post" action="/packages/{{ name }}/withdraw">
<input type="hidden" name="csrf" value="{{ page.csrf }}">
<button type="submit">Withdraw from index</button></form>{% endif %}
</div>
{% if !stale.is_empty() %}<div class="card"><b>Stale</b><ul>
{% for s in stale %}<li>{{ s }}</li>{% endfor %}</ul></div>{% endif %}
{% if !deps_in.is_empty() || !deps_out.is_empty() %}<div class="card">
<b>Depends on</b>: {% for d in deps_in %}<span class="tag">{{ d }}</span> {% endfor %}
<p><b>Needed by</b>: {% for d in deps_out %}<span class="tag">{{ d }}</span> {% endfor %}</p></div>{% endif %}
<h2>Timeline</h2>
<table><tr><th>version</th><th>state</th><th>aur_commit</th><th>published</th><th>approved by</th></tr>
{% for r in timeline %}<tr><td>{{ r.version }}</td><td>{{ r.state }}</td>
<td><a href="https://aur.archlinux.org/cgit/aur.git/tree/?h={{ name }}&amp;id={{ r.aur_commit }}">{{ r.aur_commit_short }}</a></td>
<td class="mut">{{ r.published_at }}</td><td class="mut">{{ r.approver }}</td></tr>{% endfor %}</table>
{% if !builds.is_empty() %}<h2>Builds</h2>
<table><tr><th>id</th><th>kind</th><th>state</th><th>step</th></tr>
{% for b in builds %}<tr><td><a href="/builds/{{ b.id }}">{{ b.id_short }}</a></td><td>{{ b.kind }}</td>
<td>{{ b.state }}</td><td class="mut">{{ b.step }}</td></tr>{% endfor %}</table>{% endif %}
{% endblock %}