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:
authorVinnie Okada <vokada@mrvinn.com>2015-03-21 18:03:35 +0300
committerVinnie Okada <vokada@mrvinn.com>2015-03-21 18:03:35 +0300
commitf5e65e2e508269ff7c18318526ba01f8e7d83951 (patch)
treedd834b066dc51de87139d69ea042e0bdfd69334d /app/views/projects/diffs/_file.html.haml
parentcc29ce491786d631586c3b0d0da310b8b790a673 (diff)
parent6cf189f0a92772b9174f913e7c74a4889d54e9a6 (diff)
Merge branch 'master' into markdown-tags
Merge updated CHANGELOG entries
Diffstat (limited to 'app/views/projects/diffs/_file.html.haml')
-rw-r--r--app/views/projects/diffs/_file.html.haml12
1 files changed, 3 insertions, 9 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml
index 36d98b26712..860ab096341 100644
--- a/app/views/projects/diffs/_file.html.haml
+++ b/app/views/projects/diffs/_file.html.haml
@@ -22,14 +22,8 @@
.diff-btn-group
- if blob.text?
- - unless params[:view] == 'parallel'
- %label
- = check_box_tag nil, 1, false, class: 'js-toggle-diff-line-wrap'
- Wrap text
- &nbsp;
- = link_to '#', class: 'js-toggle-diff-comments btn btn-sm' do
- %i.fa.fa-chevron-down
- Show/Hide comments
+ = link_to '#', class: 'js-toggle-diff-comments btn btn-sm active has_tooltip', title: "Toggle comments for this file" do
+ %i.fa.fa-comments
&nbsp;
- if @merge_request && @merge_request.source_project
@@ -39,7 +33,7 @@
= view_file_btn(@commit.id, diff_file, project)
- .diff-content
+ .diff-content.diff-wrap-lines
-# Skipp all non non-supported blobs
- return unless blob.respond_to?('text?')
- if blob.text?