index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'templates/repository/log.html')

-rw-r--r-- templates/repository/log.html 21
 1 file changed, 21 insertions(+)

diff --git a/templates/repository/log.html b/templates/repository/log.html
new file mode 100644
index 0000000..232cf4e 100644
--- /dev/null
+++ b/templates/repository/log.html
@@ -1,0 +1,21 @@
{% extends "base.html" %}

{% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %}

{% block header %}
  {{ macros::header(Some(repo), branch_names, Some(current_ref)) }}
{% endblock %}

{% block tabs %}
  {{ macros::repo_tabs(repo, current_ref, query, "log") }}
{% endblock %}

{% block content %}
  {% if !commits.is_empty() %}
    <table>
      {{ macros::commits(commits, has_next, has_prev, page, "log") }}
    </table>
  {% else %}
    There is no commits!
  {% endif %}
{% endblock %}