diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-14 11:29:49 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-14 11:31:32 +0800 |
commit | 3f44e5773e9edd3044cd5235a36a06d01de13e31 (patch) | |
tree | 26fdb7daa55e3b5c9e69aa57592eb7059d365810 /templates/repo_index.html.tmpl | |
parent | http_handle_repo_*.go: Remove redundant return (diff) | |
download | forge-3f44e5773e9edd3044cd5235a36a06d01de13e31.tar.gz forge-3f44e5773e9edd3044cd5235a36a06d01de13e31.tar.zst forge-3f44e5773e9edd3044cd5235a36a06d01de13e31.zip |
repo_log: Use parameters for refspec
Diffstat (limited to '')
-rw-r--r-- | templates/repo_index.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 80300d2..14d2a5d 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -37,7 +37,7 @@ <table id="recent-commits" class="wide"> <thead> <tr class="title-row"> - <th colspan="3"><label for="toggle-table-recent-commits">Recent Commits (<a href="log/{{ .ref_name }}/">see all</a>)</label></th> + <th colspan="3"><label for="toggle-table-recent-commits">Recent Commits (<a href="log/{{ if .ref_type }}?{{ .ref_type }}={{ .ref_name }}{{ end }}">see all</a>)</label></th> </tr> </thead> <tbody> |