diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-13 09:52:47 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-13 09:52:47 +0300 |
commit | 3805797cae702e46a83b5da9b6411f1899c3d1a0 (patch) | |
tree | c9bb7eac8362227ccf4586b261cd2ab4872863a2 /app/views/snippets | |
parent | 399d0bdde79774b4cc7e6a9dd480a8b7cb690bed (diff) | |
download | gitlab-ce-3805797cae702e46a83b5da9b6411f1899c3d1a0.tar.gz |
scss: rename file_content to file-content etc
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/_blob.html.haml | 6 | ||||
-rw-r--r-- | app/views/snippets/_form.html.haml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/snippets/_blob.html.haml b/app/views/snippets/_blob.html.haml index c538da0bee5..c2e0d97a117 100644 --- a/app/views/snippets/_blob.html.haml +++ b/app/views/snippets/_blob.html.haml @@ -1,5 +1,5 @@ -.file_holder - .file_title +.file-holder + .file-title %i.icon-file %strong= @snippet.file_name %span.options @@ -8,7 +8,7 @@ = link_to "Edit", edit_snippet_path(@snippet), class: "btn btn-tiny", title: 'Edit Snippet' = link_to "Delete", snippet_path(@snippet), method: :delete, confirm: "Are you sure?", class: "btn btn-tiny", title: 'Delete Snippet' = link_to "Raw", raw_snippet_path(@snippet), class: "btn btn-tiny", target: "_blank" - .file_content.code + .file-content.code - unless @snippet.content.empty? %div{class: user_color_scheme_class} = raw @snippet.colorize(formatter: :gitlab) diff --git a/app/views/snippets/_form.html.haml b/app/views/snippets/_form.html.haml index e05794e820c..05502503bee 100644 --- a/app/views/snippets/_form.html.haml +++ b/app/views/snippets/_form.html.haml @@ -22,10 +22,10 @@ .file-editor = f.label :file_name, "File" .input - .file_holder.snippet - .file_title + .file-holder.snippet + .file-title = f.text_field :file_name, placeholder: "example.rb", class: 'snippet-file-name', required: true - .file_content.code + .file-content.code %pre#editor= @snippet.content = f.hidden_field :content, class: 'snippet-file-content' |