aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_log.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-14 11:29:49 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-14 11:31:32 +0800
commit3f44e5773e9edd3044cd5235a36a06d01de13e31 (patch)
tree26fdb7daa55e3b5c9e69aa57592eb7059d365810 /templates/repo_log.html.tmpl
parenthttp_handle_repo_*.go: Remove redundant return (diff)
downloadforge-3f44e5773e9edd3044cd5235a36a06d01de13e31.tar.gz
forge-3f44e5773e9edd3044cd5235a36a06d01de13e31.tar.zst
forge-3f44e5773e9edd3044cd5235a36a06d01de13e31.zip
repo_log: Use parameters for refspec
Diffstat (limited to 'templates/repo_log.html.tmpl')
-rw-r--r--templates/repo_log.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl
index 88b978d..fa29fa5 100644
--- a/templates/repo_log.html.tmpl
+++ b/templates/repo_log.html.tmpl
@@ -11,7 +11,7 @@
<table id="commits" class="wide">
<thead>
<tr class="title-row">
- <th colspan="4">Commits on {{ .ref_name }}</th>
+ <th colspan="4">Commits {{ if .ref_name }} on {{ .ref_name }}{{ end }}</th>
</tr>
<tr>
<th scope="col">ID</th>