diff options
Diffstat (limited to 'app/views/commit')
-rw-r--r-- | app/views/commit/show.html.haml | 10 | ||||
-rw-r--r-- | app/views/commit/show.patch.erb | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/views/commit/show.html.haml b/app/views/commit/show.html.haml new file mode 100644 index 00000000000..d12fff96835 --- /dev/null +++ b/app/views/commit/show.html.haml @@ -0,0 +1,10 @@ += render "commits/commit_box" += render "commits/diffs", diffs: @commit.diffs += render "notes/notes_with_form", tid: @commit.id, tt: "commit" += render "notes/per_line_form" + + +:javascript + $(function(){ + PerLineNotes.init(); + }); diff --git a/app/views/commit/show.patch.erb b/app/views/commit/show.patch.erb new file mode 100644 index 00000000000..ce1c3d023f5 --- /dev/null +++ b/app/views/commit/show.patch.erb @@ -0,0 +1 @@ +<%= @commit.to_patch %> |