OXYGENHUB
# adbc38e7ea09 oxygenhub / templates / tags.html
1.2 KiB · HTML · last changed Repository bar: an Artifacts menu and a More menu 17 days ago source blame history raw
1
{% extends "base.html" %}
2
{% import "repo_tabs.html" as m %}
3
{% block title %}Tags · {{ repo.owner }}/{{ repo.name }}{% endblock %}
4
{% block bodyattrs %} data-repo="{{ repo.url }}"{% endblock %}
5
{% block tabs %}{% call m::tabs(repo, "tags") %}{% endblock %}
6
{% block content %}
7
<div class="head"><h1>Tags <small>{{ tags.len() }}</small></h1></div>
8
<div class="bar"><span class="modes"><a href="{{ repo.url }}/releases">releases</a><a href="{{ repo.url }}/tags" class="on" aria-current="page">tags</a></span></div>
9
{% if tags.is_empty() %}<p class="empty">No tags. <code>oxy tag create NAME -m "message"</code> then push.</p>{% else %}
10
<div class="table"><table>
11
<tr><th>Tag</th><th>State</th><th>Message</th><th>Signed</th></tr>
12
{% for t in tags %}
13
<tr>
14
  <td class="px"><a href="{{ repo.url }}/tree/{{ t.name }}">{{ t.name }}</a></td>
15
  <td>{% for h in t.heads %}<a class="chip" href="{{ repo.url }}/change/{{ h }}">{{ h|short }}</a> {% endfor %}</td>
16
  <td>{{ t.message }}</td>
17
  <td>{% if let Some(s) = t.signer %}<span class="sig sig-valid">✔</span> {{ s }}{% else %}<span class="sig sig-unsigned">○</span> unsigned{% endif %}</td>
18
</tr>
19
{% endfor %}
20
</table></div>
21
{% endif %}
22
{% endblock %}