home » zplus/clif.git
ID: cd8b50aaa10f1a99d2206dbc7f068922fdfbbf32
29 lines — 800B — View raw


{% extends "repository/repository.html" %}

{% block page_title %}Refs: {{ repository }}{% endblock %}

{% 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 %}