diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 19:29:44 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 19:29:44 +0800 |
commit | a758d8c13c83e9a664ddf75b97a459bca65dc30a (patch) | |
tree | 6c765d6958a028e96ef1da490511783de24b4f93 /templates/repo_commit.html.tmpl | |
parent | .editorconfig: Remove {tab/indent}_size when using tabs (diff) | |
download | forge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.tar.gz forge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.tar.zst forge-a758d8c13c83e9a664ddf75b97a459bca65dc30a.zip |
repo_commit: Add commit message
Diffstat (limited to 'templates/repo_commit.html.tmpl')
-rw-r--r-- | templates/repo_commit.html.tmpl | 10 |
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 }} <<a href="mailto:{{ .commit_object.Author.Email }}">{{ .commit_object.Author.Email }}</a>></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> |