aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 19:29:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 19:29:44 +0800
commita758d8c13c83e9a664ddf75b97a459bca65dc30a (patch)
tree6c765d6958a028e96ef1da490511783de24b4f93 /templates
parent.editorconfig: Remove {tab/indent}_size when using tabs (diff)
downloadforge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.tar.gz
forge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.tar.zst
forge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.zip
repo_commit: Add commit message
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_commit.html.tmpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/repo_commit.html.tmpl b/templates/repo_commit.html.tmpl
index 03625aa..3deec3d 100644
--- a/templates/repo_commit.html.tmpl
+++ b/templates/repo_commit.html.tmpl
@@ -10,11 +10,15 @@
<table id="commit-info-table">
<thead>
<tr class="title-row">
- <th colspan="2">Commit {{ .commit_id }}</th>
+ <th colspan="2">Commit Info</th>
</tr>
</thead>
<tbody>
<tr>
+ <th scope="row">ID</th>
+ <td>{{ .commit_id }}</td>
+ </tr>
+ <tr>
<th scope="row">Author</th>
<td>{{ .commit_object.Author.Name }} &lt;<a href="mailto:{{ .commit_object.Author.Email }}">{{ .commit_object.Author.Email }}</a>&gt;</td>
</tr>
@@ -30,6 +34,10 @@
<th scope="row">Committer Date</th>
<td>{{ .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</td>
</tr>
+ <tr>
+ <th scope="row">Message</th>
+ <td><pre>{{ .commit_object.Message }}</pre></td>
+ </tr>
</tbody>
</table>
<pre>{{ .patch }}</pre>