gitlabhq/app/views/snippets/_blob.html.haml

13 lines
410 B
Plaintext
Raw Normal View History

.file_holder
.file_title
%i.icon-file
%strong= @snippet.file_name
%span.options
= link_to "raw", raw_project_snippet_path(@project, @snippet), class: "btn very_small", target: "_blank"
.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)
- else
%p.nothing_here_message Empty file