summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 09:52:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 09:52:47 +0300
commit3805797cae702e46a83b5da9b6411f1899c3d1a0 (patch)
treec9bb7eac8362227ccf4586b261cd2ab4872863a2 /app/views/snippets
parent399d0bdde79774b4cc7e6a9dd480a8b7cb690bed (diff)
downloadgitlab-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.haml6
-rw-r--r--app/views/snippets/_form.html.haml6
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'