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:
Diffstat (limited to 'app/views/refs/_tree_file.html.haml')
-rw-r--r--app/views/refs/_tree_file.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refs/_tree_file.html.haml b/app/views/refs/_tree_file.html.haml
index fdc2469d971..b32134b0fd5 100644
--- a/app/views/refs/_tree_file.html.haml
+++ b/app/views/refs/_tree_file.html.haml
@@ -5,12 +5,12 @@
= name
= link_to "raw", blob_project_ref_path(@project, @ref, :path => params[:path] ), :class => "right", :target => "_blank"
= link_to "history", project_commits_path(@project, :path => params[:path], :ref => @ref ), :class => "right", :style => "margin-right:10px;"
- = switch_colorscheme_link(:class => "right", :style => "margin-right:10px;color:orange")
+ -#= switch_colorscheme_link(:class => "right", :style => "margin-right:10px;color:orange")
%br/
- if file.text?
.view_file_content
- unless file.empty?
- %div{:class => cookies[:colorschema]}
+ %div{:class => current_user.dark_scheme ? "black" : ""}
:erb
<%= raw file.colorize %>
- else