index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff
gitrs / templates / repository / refs.html
-rw-r--r-- blob 8b43cd8561e51d08268c6f8654bba430775f0771 664 bytes (plain)
1
{% extends "base.html" %}
2
3
{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}
4
5
{% block header %}
6
  {{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
7
{% endblock %}
8
9
{% block tabs %}
10
  {{ macros::repo_tabs(repo, current_ref, query, "refs") }}
11
{% endblock %}
12
13
{% block content %}
14
  {% if !branches.is_empty() %}
15
    <table class="section-table">
16
      {{ macros::branches(branches, branches_has_more, has_prev, page, mode) }}
17
    </table>
18
  {% endif %}
19
20
  {% if !tags.is_empty() %}
21
    <table class="section-table">
22
      {{ macros::tags(tags, tags_has_more, has_prev, page, mode) }}
23
    </table>
24
  {% endif %}
25
{% endblock %}