OXYGENHUB
# 20b8fe85888b oxygenhub / templates / tags.html
1.0 KiB · 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 %}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
{% if tags.is_empty() %}<p class="empty">No tags. <code>oxy tag create NAME -m "message"</code> then push.</p>{% else %}
9
<div class="table"><table>
10
<tr><th>Tag</th><th>State</th><th>Message</th><th>Signed</th></tr>
11
{% for t in tags %}
12
<tr>
13
  <td class="px"><a href="{{ repo.url }}/tree/{{ t.name }}">{{ t.name }}</a></td>
14
  <td>{% for h in t.heads %}<a class="chip" href="{{ repo.url }}/change/{{ h }}">{{ h|short }}</a> {% endfor %}</td>
15
  <td>{{ t.message }}</td>
16
  <td>{% if let Some(s) = t.signer %}<span class="sig sig-valid">✔</span> {{ s }}{% else %}<span class="sig sig-unsigned">○</span> unsigned{% endif %}</td>
17
</tr>
18
{% endfor %}
19
</table></div>
20
{% endif %}
21
{% endblock %}