diff options
-rw-r--r-- | app/views/admin/broadcast_messages/_form.html.haml | 4 | ||||
-rw-r--r-- | app/views/ci/variables/_index.html.haml | 4 | ||||
-rw-r--r-- | app/views/devise/shared/_signup_box.html.haml | 6 | ||||
-rw-r--r-- | app/views/layouts/_search.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/commit/branches.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/forks/new.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/graphs/show.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/merge_requests/creations/_new_compare.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/pipelines/_info.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/tree/_spinner.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/_commit_message_container.html.haml | 2 |
12 files changed, 16 insertions, 16 deletions
diff --git a/app/views/admin/broadcast_messages/_form.html.haml b/app/views/admin/broadcast_messages/_form.html.haml index 4c659327654..12005891016 100644 --- a/app/views/admin/broadcast_messages/_form.html.haml +++ b/app/views/admin/broadcast_messages/_form.html.haml @@ -18,11 +18,11 @@ .form-group.row.js-toggle-colors-container .col-sm-10.offset-sm-2 = link_to 'Customize colors', '#', class: 'js-toggle-colors-link' - .form-group.row.js-toggle-colors-container.d-none + .form-group.row.js-toggle-colors-container.hide = f.label :color, "Background Color", class: 'col-form-label col-sm-2' .col-sm-10 = f.color_field :color, class: "form-control" - .form-group.row.js-toggle-colors-container.d-none + .form-group.row.js-toggle-colors-container.hide = f.label :font, "Font Color", class: 'col-form-label col-sm-2' .col-sm-10 = f.color_field :font, class: "form-control" diff --git a/app/views/ci/variables/_index.html.haml b/app/views/ci/variables/_index.html.haml index 60a6a9d2d22..e402801a776 100644 --- a/app/views/ci/variables/_index.html.haml +++ b/app/views/ci/variables/_index.html.haml @@ -2,7 +2,7 @@ .row .col-lg-12.js-ci-variable-list-section{ data: { save_endpoint: save_endpoint } } - .hidden.alert.alert-danger.js-ci-variable-error-box + .hide.alert.alert-danger.js-ci-variable-error-box %ul.ci-variable-list - @variables.each.each do |variable| @@ -10,7 +10,7 @@ = render 'ci/variables/variable_row', form_field: 'variables' .prepend-top-20 %button.btn.btn-success.js-secret-variables-save-button{ type: 'button' } - %span.hidden.js-secret-variables-save-loading-icon + %span.hide.js-secret-variables-save-loading-icon = icon('spinner spin') = _('Save variables') %button.btn.btn-info.btn-inverted.prepend-left-10.js-secret-value-reveal-button{ type: 'button', data: { secret_reveal_status: "#{@variables.size == 0}" } } diff --git a/app/views/devise/shared/_signup_box.html.haml b/app/views/devise/shared/_signup_box.html.haml index d8ce63a1770..2554b2688bb 100644 --- a/app/views/devise/shared/_signup_box.html.haml +++ b/app/views/devise/shared/_signup_box.html.haml @@ -9,9 +9,9 @@ .username.form-group = f.label :username = f.text_field :username, class: "form-control middle", pattern: Gitlab::PathRegex::NAMESPACE_FORMAT_REGEX_JS, required: true, title: 'Please create a username with only alphanumeric characters.' - %p.validation-error.d-none Username is already taken. - %p.validation-success.d-none Username is available. - %p.validation-pending.d-none Checking username availability... + %p.validation-error.hide Username is already taken. + %p.validation-success.hide Username is available. + %p.validation-pending.hide Checking username availability... .form-group = f.label :email = f.email_field :email, class: "form-control middle", required: true, title: "Please provide a valid email address." diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml index fa9627bc2b8..91f796adb2e 100644 --- a/app/views/layouts/_search.html.haml +++ b/app/views/layouts/_search.html.haml @@ -52,4 +52,4 @@ = hidden_field_tag :snippets, true = hidden_field_tag :repository_ref, @ref = button_tag 'Go' if ENV['RAILS_ENV'] == 'test' - .search-autocomplete-opts.d-none{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref } + .search-autocomplete-opts.hide{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref } diff --git a/app/views/projects/commit/branches.html.haml b/app/views/projects/commit/branches.html.haml index 6eb2d3411b7..ad9b6962502 100644 --- a/app/views/projects/commit/branches.html.haml +++ b/app/views/projects/commit/branches.html.haml @@ -7,7 +7,7 @@ - if @branches.any? || @tags.any? || @tags_limit_exceeded %span = link_to "…", "#", class: "js-details-expand label badge-gray" - %span.js-details-content.d-none + %span.js-details-content.hide = commit_branches_links(@project, @branches) - if @tags_limit_exceeded = render 'limit_exceeded_message', objects: :tag, label_for_message: "tags" diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 0a52743836f..613d627d604 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -194,7 +194,7 @@ %strong Removed projects cannot be restored! = button_to 'Remove project', '#', class: "btn btn-remove js-confirm-danger", data: { "confirm-danger-message" => remove_project_message(@project) } -.save-project-loader.d-none +.save-project-loader.hide .center %h2 %i.fa.fa-spinner.fa-spin diff --git a/app/views/projects/forks/new.html.haml b/app/views/projects/forks/new.html.haml index 20ba2b65605..475c6ba4d3d 100644 --- a/app/views/projects/forks/new.html.haml +++ b/app/views/projects/forks/new.html.haml @@ -21,7 +21,7 @@ %p.prepend-top-default You must have permission to create a project in a namespace before forking. - .save-project-loader.d-none.js-fork-content + .save-project-loader.hide.js-fork-content %h2.text-center = icon('spinner spin') Forking repository diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml index 8ceafcd4487..c81ee6874e3 100644 --- a/app/views/projects/graphs/show.html.haml +++ b/app/views/projects/graphs/show.html.haml @@ -15,7 +15,7 @@ %p.slead = s_('ContributorsPage|Please wait a moment, this page will automatically refresh when ready.') - .stat-graph.d-none + .stat-graph.hide .header.clearfix %h3#date_header.page-title %p.light diff --git a/app/views/projects/merge_requests/creations/_new_compare.html.haml b/app/views/projects/merge_requests/creations/_new_compare.html.haml index 7594d9d116b..03174a21fe2 100644 --- a/app/views/projects/merge_requests/creations/_new_compare.html.haml +++ b/app/views/projects/merge_requests/creations/_new_compare.html.haml @@ -2,7 +2,7 @@ New Merge Request = form_for [@project.namespace.becomes(Namespace), @project, @merge_request], url: project_new_merge_request_path(@project), method: :get, html: { class: "merge-request-form form-inline js-requires-input" } do |f| - .d-none.alert.alert-danger.mr-compare-errors + .hide.alert.alert-danger.mr-compare-errors .js-merge-request-new-compare.row.col-md-12{ 'data-target-project-url': project_new_merge_request_update_branches_path(@source_project), 'data-source-branch-url': project_new_merge_request_branch_from_path(@source_project), 'data-target-branch-url': project_new_merge_request_branch_to_path(@source_project) } .col-md-6.pl-0 .card.card-new-merge-request diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml index 86b1e72cb33..ca373e39d61 100644 --- a/app/views/projects/pipelines/_info.html.haml +++ b/app/views/projects/pipelines/_info.html.haml @@ -30,6 +30,6 @@ = link_to("#", class: "js-details-expand d-none d-sm-none d-md-inline") do %span.text-expander \... - %span.js-details-content.d-none + %span.js-details-content.hide = link_to @pipeline.sha, project_commit_path(@project, @pipeline.sha), class: "commit-sha commit-hash-full" = clipboard_button(text: @pipeline.sha, title: "Copy commit SHA to clipboard") diff --git a/app/views/projects/tree/_spinner.html.haml b/app/views/projects/tree/_spinner.html.haml index 01843280403..b47ad0f41e4 100644 --- a/app/views/projects/tree/_spinner.html.haml +++ b/app/views/projects/tree/_spinner.html.haml @@ -1,3 +1,3 @@ -%span.log_loading.d-none +%span.log_loading.hide %i.fa.fa-spinner.fa-spin Loading commit data... diff --git a/app/views/shared/_commit_message_container.html.haml b/app/views/shared/_commit_message_container.html.haml index 0bc6b04aeba..68c14c307ac 100644 --- a/app/views/shared/_commit_message_container.html.haml +++ b/app/views/shared/_commit_message_container.html.haml @@ -20,6 +20,6 @@ .hint.js-with-description-hint = link_to "#", class: "js-with-description-link" do Include description in commit message - .hint.js-without-description-hint.d-none + .hint.js-without-description-hint.hide = link_to "#", class: "js-without-description-link" do Don't include description in commit message |