GITv
master
tags.html7 lines, 859 bytes
1
2
3
4
5
6
7
{% extends "base.html" %}
{% block content %}
{{ masthead|safe }}
{% if rows.is_empty() %}<div class="panel empty"><h2>No tags yet</h2><p>Tag a release and push it to see it here.</p><code>git tag -a v1.0.0 -m "v1.0.0" &amp;&amp; git push origin v1.0.0</code></div>
{% else %}<div class="panel"><ul class="rows">{% for row in rows %}<li class="tag-row"><span class="tname">{{ row.name }}</span>{% if let Some(note) = row.note %}<span class="tnote">{{ note }}</span>{% endif %}<span class="tmeta">{{ row.sha_link|safe }}{{ row.when }}</span>
<span class="tacts">{% if let Some((url, label)) = row.compare %}<a class="button" href="{{ url }}">{{ label }}</a>{% endif %}<a class="button" href="{{ row.archive }}" download>Source (.tar.gz)</a><a class="button" href="{{ row.browse }}">Browse files</a></span></li>{% endfor %}</ul></div>{% endif %}
{% endblock %}