2012-11-26 05:14:05 +01:00
|
|
|
.file_holder
|
|
|
|
.file_title
|
|
|
|
%i.icon-file
|
|
|
|
%strong= @snippet.file_name
|
|
|
|
%span.options
|
2013-01-29 21:29:21 +01:00
|
|
|
= link_to "raw", raw_project_snippet_path(@project, @snippet), class: "btn btn-tiny", target: "_blank"
|
2012-11-26 05:14:05 +01:00
|
|
|
.file_content.code
|
|
|
|
- unless @snippet.content.empty?
|
2012-11-27 22:49:22 +01:00
|
|
|
%div{class: user_color_scheme_class}
|
|
|
|
= raw @snippet.colorize(formatter: :gitlab)
|
2012-11-26 05:14:05 +01:00
|
|
|
- else
|
|
|
|
%p.nothing_here_message Empty file
|