Cleanup commit table on summary
Diff
templates/repo/log.html | 2 +-
templates/repo/summary.html | 2 +-
templates/repo/macros/refs.html | 6 +-----
3 files changed, 3 insertions(+), 7 deletions(-)
@@ -5,7 +5,7 @@
{% block content %}
<table class="repositories">
{% call refs::commit_table(commits, false) %}
{% call refs::commit_table(commits) %}
</table>
{% if let Some(next_offset) = next_offset %}
@@ -49,7 +49,7 @@
</tr>
</tbody>
{% call refs::commit_table(commit_list.iter().take(10), true) %}
{% call refs::commit_table(commit_list.iter().take(10)) %}
{% if commit_list.len() > 10 %}
<tbody>
<tr class="no-background">
@@ -60,7 +60,7 @@
</thead>
{% endmacro %}
{% macro commit_table(commits, with_extras) %}
{% macro commit_table(commits) %}
<thead>
<tr>
<th>Age</th>
@@ -82,10 +82,6 @@
<img src="https://www.gravatar.com/avatar/{{ commit.author.email|md5 }}?s=13&d=retro" width="13" height="13">
{{ commit.author.name }}
</td>
{% if with_extras %}
<td></td>
{% endif %}
</tr>
{% endfor %}
</tbody>