aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 22:17:37 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 22:17:37 +0800
commit84e752e2dd9b1aa84652e01588148c4b81e02d5a (patch)
treeb7669cb92d1e2a9f319aecfacc3de14ce6931f9c /templates
parentstyle.css: Better colors in dark mode, and add padding (diff)
downloadforge-84e752e2dd9b1aa84652e01588148c4b81e02d5a.tar.gz
forge-84e752e2dd9b1aa84652e01588148c4b81e02d5a.tar.zst
forge-84e752e2dd9b1aa84652e01588148c4b81e02d5a.zip
repo_commit: Add patch view
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_commit.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo_commit.html.tmpl b/templates/repo_commit.html.tmpl
index 5b6cb84..a288949 100644
--- a/templates/repo_commit.html.tmpl
+++ b/templates/repo_commit.html.tmpl
@@ -38,6 +38,10 @@
<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 as Patch</a></pre></td>
+ </tr>
</tbody>
</table>
</div>