summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-23 19:47:22 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-23 19:47:22 +0300
commit2ed7cbfba4ff3c6a4cf3e72515a0375544998de0 (patch)
treeae6d7530745c80633cd993c99f7820e1452f3e1b /app/views/projects/commit/show.html.haml
parent95791316f4037273af7b747ce1851d5f4e46933f (diff)
downloadgitlab-ce-2ed7cbfba4ff3c6a4cf3e72515a0375544998de0.tar.gz
Move projects controllers/views in Projects module
Diffstat (limited to 'app/views/projects/commit/show.html.haml')
-rw-r--r--app/views/projects/commit/show.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/projects/commit/show.html.haml b/app/views/projects/commit/show.html.haml
new file mode 100644
index 00000000000..603406202ca
--- /dev/null
+++ b/app/views/projects/commit/show.html.haml
@@ -0,0 +1,11 @@
+= render "commit_box"
+
+- unless @commit.has_zero_stats?
+ %p.pull-right.cgray
+ This commit has
+ %span.cgreen #{@commit.stats.additions} additions
+ and
+ %span.cred #{@commit.stats.deletions} deletions
+
+= render "projects/commits/diffs", diffs: @commit.diffs
+= render "projects/notes/notes_with_form"