diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-18 08:20:36 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-18 08:20:36 +0800 |
commit | 67a8db36a3b08e71f661ce629a7c4138eefd1d45 (patch) | |
tree | 726c3c6a3e534e30f62b5d4042455bf063ef01b5 | |
parent | git_hooks_client.c: Ignore SIGPIPE (diff) | |
download | forge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.tar.gz forge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.tar.zst forge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.zip |
repo_commit.html: Move the commit message out of the table
Diffstat (limited to '')
-rw-r--r-- | templates/repo_commit.tmpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index 8797092..f90a453 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -36,16 +36,15 @@ <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> - <tr> <th scope="row">Actions</th> <td><pre><a href="{{ .commit_object.Hash }}.patch">Get patch</a></pre></td> </tr> </tbody> </table> </div> + <div class="padding-wrapper scroll" id="this-commit-message"> + <pre>{{ .commit_object.Message }}</pre> + </div> <div class="padding-wrapper"> {{ $parent_commit_hash := .parent_commit_hash }} {{ $commit_object := .commit_object }} |