summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_stats.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/diffs/_stats.html.haml')
-rw-r--r--app/views/projects/diffs/_stats.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_stats.html.haml b/app/views/projects/diffs/_stats.html.haml
index 290f696d582..fd4f3c8d3cc 100644
--- a/app/views/projects/diffs/_stats.html.haml
+++ b/app/views/projects/diffs/_stats.html.haml
@@ -1,8 +1,8 @@
.js-toggle-container
.commit-stat-summary
Showing
- = link_to '#', class: 'js-toggle-button' do
- %strong #{pluralize(diff_files.size, "changed file")}
+ %button.diff-stats-summary-toggler.js-toggle-button{ type: "button" }
+ %strong= pluralize(diff_files.size, "changed file")
with
%strong.cgreen #{diff_files.sum(&:added_lines)} additions
and