diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-27 22:08:05 +0100 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-09-28 19:11:11 +0300 |
commit | 6bca3a3ed94c1d98a9cfac8b115614c2b8943096 (patch) | |
tree | cb1efb0cea4c7e1cbb00c4c7d1a222fc4e8f64dd /app/views/projects | |
parent | ee02856d59bcf7998041eaf0bb3d69643203ca35 (diff) | |
download | gitlab-ce-6bca3a3ed94c1d98a9cfac8b115614c2b8943096.tar.gz |
Review changes
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/blob/_editor.html.haml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml index f225b1be59e..d4f59764a70 100644 --- a/app/views/projects/blob/_editor.html.haml +++ b/app/views/projects/blob/_editor.html.haml @@ -22,9 +22,12 @@ .gitlab-ci-yml-selector.js-gitlab-ci-yml-selector-wrap.hidden = dropdown_tag("Choose a GitLab CI Yaml template", options: { toggle_class: 'js-gitlab-ci-yml-selector', title: "Choose a template", filter: true, placeholder: "Filter", data: { data: gitlab_ci_ymls } } ) = button_tag class: 'soft-wrap-toggle btn', type: 'button' do - = custom_icon('icon_soft_wrap', klass: 'soft-wrap-icon') - = custom_icon('icon_no_wrap', klass: 'no-wrap-icon hidden') - %span Soft wrap + %span.no-wrap + = custom_icon('icon_no_wrap') + No wrap + %span.soft-wrap + = custom_icon('icon_soft_wrap') + Soft wrap .encoding-selector = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'select2' |