aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemcommit.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gititemcommit.qtpl')
-rw-r--r--templates/gititemcommit.qtpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/gititemcommit.qtpl b/templates/gititemcommit.qtpl
index 77536f1..d223315 100644
--- a/templates/gititemcommit.qtpl
+++ b/templates/gititemcommit.qtpl
@@ -3,6 +3,7 @@
{% code
type GitItemCommitPage struct {
Commit *object.Commit
+ Diff string
}
%}
@@ -12,8 +13,7 @@ type GitItemCommitPage struct {
<div class="event-list">
{%= Commit(name, g.Commit, true) %}
</div>
-
-<div class="alert alert-info text-center" role="alert">
- This page is work in progress.
+<div class="code-view">
+<pre>{%s g.Diff %}</pre>
</div>
{% endfunc %}