ID: 0344ec6d456c8f9daec383f89c44c6050d178cc4
27 lines
—
740B —
View raw
| {% extends "repository/repository.html" %}
{% block menu_refs_class %}selected{% endblock %}
{% block content %}
<div class="ref_title">Heads</div>
{% for branch in heads %}
<div class="ref">
<a href="{{ url('tree', repository=repository[:-4], revision=branch[11:]) }}">{{ branch[11:] }}</a>
{% if branch == head %}
<span class="head_label">HEAD</span>
{% endif %}
</div>
{% endfor %}
<div class="ref_title">Tags</div>
{% for tag in tags %}
<div class="ref">
<a href="{{ url('tree', repository=repository[:-4], revision=tag[10:]) }}">{{ tag[10:] }}</a>
</div>
{% endfor %}
{% endblock %}
|