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:
authorPhil Hughes <me@iamphill.com>2019-04-12 17:38:10 +0300
committerPhil Hughes <me@iamphill.com>2019-04-12 17:38:10 +0300
commit539ac2589966c77d50249a80c08285f1acf9c024 (patch)
tree447e264d110f6dd6ceebc43caae8a0cf1f4ac170 /app/views/projects
parentd697c1d836bf7bfa11c677a5cde12a95354aba2d (diff)
parent79731bfd5c2303639b5847752d52f4aa4aa6ecce (diff)
Merge branch '59841-show-commits' into 'master'
Replaces CSS with utility class See merge request gitlab-org/gitlab-ce!27311
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/diffs/_text_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_text_file.html.haml b/app/views/projects/diffs/_text_file.html.haml
index 56427a74d56..018c5b38536 100644
--- a/app/views/projects/diffs/_text_file.html.haml
+++ b/app/views/projects/diffs/_text_file.html.haml
@@ -1,7 +1,7 @@
- too_big = diff_file.diff_lines.count > Commit::DIFF_SAFE_LINES
- if too_big
.suppressed-container
- %a.show-suppressed-diff.js-show-suppressed-diff= _("Changes suppressed. Click to show.")
+ %a.show-suppressed-diff.cursor-pointer.js-show-suppressed-diff= _("Changes suppressed. Click to show.")
%table.text-file.diff-wrap-lines.code.js-syntax-highlight.commit-diff{ data: diff_view_data, class: too_big ? 'hide' : '' }
= render partial: "projects/diffs/line",