Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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"