summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-23 15:55:49 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-23 16:07:45 -0400
commitcad0e848b099ab1993d1088e317fb6e5307862ad (patch)
tree1ed6d6b78763786d2c281f314b928cc4154f2b93 /app/views
parent7e262ebf157f2af4658485aae7073d315648cfa7 (diff)
downloadgitlab-ce-cad0e848b099ab1993d1088e317fb6e5307862ad.tar.gz
Fix and style the "Changes suppressed" link.rs-changes-suppressed-link
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/_text_file.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_text_file.html.haml b/app/views/projects/diffs/_text_file.html.haml
index ed4c601bcdb..977ca423f75 100644
--- a/app/views/projects/diffs/_text_file.html.haml
+++ b/app/views/projects/diffs/_text_file.html.haml
@@ -1,6 +1,7 @@
- too_big = diff_file.diff_lines.count > Commit::DIFF_SAFE_LINES
- if too_big
- %a.supp_diff_link Changes suppressed. Click to show
+ .suppressed-container
+ %a.show-suppressed-diff.js-show-suppressed-diff Changes suppressed. Click to show.
%table.text-file{class: "#{'hide' if too_big}"}
- last_line = 0