index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff
gitrs / templates / repository / log.html
-rw-r--r-- blob 232cf4ebfc3b3f93be076694d99f9a2b6301e4e1 510 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, "log") }}
11
{% endblock %}
12
13
{% block content %}
14
  {% if !commits.is_empty() %}
15
    <table>
16
      {{ macros::commits(commits, has_next, has_prev, page, "log") }}
17
    </table>
18
  {% else %}
19
    There is no commits!
20
  {% endif %}
21
{% endblock %}