summaryrefslogtreecommitdiffstats
path: root/gitsrht/templates/refs.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-01 17:26:18 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-01 17:26:18 -0400
commit0d3a9e2533658d84c77ce6f68f7968e11f1c09f0 (patch)
tree3be573d5e4c0c3e685db500ad239de0c153b04b6 /gitsrht/templates/refs.html
parent0c2a72230bdbaf7e0d8b527ebe49ae6505c9815d (diff)
Polish
Diffstat (limited to 'gitsrht/templates/refs.html')
-rw-r--r--gitsrht/templates/refs.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html
index 2d9c1dc..a9f32a7 100644
--- a/gitsrht/templates/refs.html
+++ b/gitsrht/templates/refs.html
@@ -1,5 +1,5 @@
{% extends "repo.html" %}
-{% import "utils.html" as utils %}
+{% import "utils.html" as utils with context %}
{% block title %}
<title>{{repo.owner.canonical_name}}/{{repo.name}} refs - {{cfg("sr.ht", "site-name")}} git</title>
{% endblock %}
@@ -61,8 +61,7 @@
{% set branch = branch[1] %}
<div class="event">
{{name}}
- {{ utils.commit_event(repo, commit, commit_time,
- trim_commit, skip_body=True) }}
+ {{ utils.commit_event(repo, commit, skip_body=True) }}
<a
href="{{url_for("repo.tree",
owner=repo.owner.canonical_name,