From 3f70e703d2ea61fe9cecce05f3e593809a897fe4 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sat, 23 Jul 2022 15:32:46 +0100 Subject: [PATCH] Cleanup commit table on summary --- templates/repo/log.html | 2 +- templates/repo/summary.html | 2 +- templates/repo/macros/refs.html | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/templates/repo/log.html b/templates/repo/log.html index 12ca23c..e96eb5c 100644 --- a/templates/repo/log.html +++ a/templates/repo/log.html @@ -5,7 +5,7 @@ {% block content %} - {% call refs::commit_table(commits, false) %} + {% call refs::commit_table(commits) %}
{% if let Some(next_offset) = next_offset %} diff --git a/templates/repo/summary.html b/templates/repo/summary.html index f0951e4..adbde6b 100644 --- a/templates/repo/summary.html +++ a/templates/repo/summary.html @@ -49,7 +49,7 @@ - {% call refs::commit_table(commit_list.iter().take(10), true) %} + {% call refs::commit_table(commit_list.iter().take(10)) %} {% if commit_list.len() > 10 %} diff --git a/templates/repo/macros/refs.html b/templates/repo/macros/refs.html index 316ddcd..5ae7403 100644 --- a/templates/repo/macros/refs.html +++ a/templates/repo/macros/refs.html @@ -60,7 +60,7 @@ {% endmacro %} -{% macro commit_table(commits, with_extras) %} +{% macro commit_table(commits) %} Age @@ -82,10 +82,6 @@ {{ commit.author.name }} - - {% if with_extras %} - - {% endif %} {% endfor %} -- rgit 0.1.3