aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-29 22:17:35 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-29 22:17:35 +0800
commit8a17d7e573e452db60223d8c7539fe115e9e9a26 (patch)
tree02f39b895b872e77a0a1a1910b777dfc75497f11
parentMakefile: No $(shell) (diff)
downloadforge-8a17d7e573e452db60223d8c7539fe115e9e9a26.tar.gz
forge-8a17d7e573e452db60223d8c7539fe115e9e9a26.tar.zst
forge-8a17d7e573e452db60223d8c7539fe115e9e9a26.zip
Fix merge request index
-rw-r--r--templates/repo_contrib_index.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl
index 86ac287..81fdb1a 100644
--- a/templates/repo_contrib_index.tmpl
+++ b/templates/repo_contrib_index.tmpl
@@ -26,8 +26,8 @@
<tbody>
{{- range .merge_requests -}}
<tr>
- <td class="merge_request-id">{{- .Hash -}}</td>
- <td class="merge_request-title"><a href="{{- .Hash -}}/">{{- .Title -}}</a></td>
+ <td class="merge_request-id">{{- .ID -}}</td>
+ <td class="merge_request-title"><a href="{{- .ID -}}/">{{- .Title -}}</a></td>
<td class="merge_request-status">{{- .Status -}}</td>
</tr>
{{- end -}}