summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_stats.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-11-14 10:49:04 +0000
committerPhil Hughes <me@iamphill.com>2017-11-17 14:51:28 +0000
commit8e7f84b510365d678677e72438aa674e5f9c773b (patch)
tree08ba54468db68cbd76abdb04b283a719bfae3d23 /app/views/projects/diffs/_stats.html.haml
parent04fcc7dab5b2c08dc33e9cb62bfe9c712db6ebff (diff)
downloadgitlab-ce-8e7f84b510365d678677e72438aa674e5f9c773b.tar.gz
updated to use new sprite icons
Diffstat (limited to 'app/views/projects/diffs/_stats.html.haml')
-rw-r--r--app/views/projects/diffs/_stats.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_stats.html.haml b/app/views/projects/diffs/_stats.html.haml
index 72fc828b0b3..dd473ebe580 100644
--- a/app/views/projects/diffs/_stats.html.haml
+++ b/app/views/projects/diffs/_stats.html.haml
@@ -22,7 +22,7 @@
- diff_files.each do |diff_file|
%li
%a.diff-changed-file{ href: "##{hexdigest(diff_file.file_path)}", title: diff_file.new_path }
- = icon("#{diff_file_changed_icon(diff_file)} fw", class: "#{diff_file_changed_icon_color(diff_file)} diff-file-changed-icon append-right-8")
+ = sprite_icon(diff_file_changed_icon(diff_file), size: 16, css_class: "#{diff_file_changed_icon_color(diff_file)} diff-file-changed-icon append-right-8")
%span.diff-changed-file-content.append-right-8
%strong.diff-changed-file-name= diff_file.blob.name
%span.diff-changed-file-path.prepend-top-5= diff_file.new_path