diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-21 00:47:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-21 00:47:09 +0400 |
commit | 9a2a8612769d472503b367fa35e99f6fb2876704 (patch) | |
tree | 26cdb4e66b5e664fe4bcd57d011c54c9c9c26ded /app/views/refs/_tree_file.html.haml | |
parent | 2f7b67161952fc9ab322eba6878511b5f2dd5cf1 (diff) |
Design tab for profile. Colorscheme as db valuev2.0.0
Diffstat (limited to 'app/views/refs/_tree_file.html.haml')
-rw-r--r-- | app/views/refs/_tree_file.html.haml | 4 |
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 |