Remove superfluous close icon

This commit is contained in:
Andreas Nedbal 2023-01-04 12:40:33 +01:00 committed by Andreas Nedbal
parent 572a9ab076
commit 6643c65e23
6 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@
.modal-header
%h5.modal-title#modal-ask-followers-label= t(".title")
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden= t("voc.close")
.modal-body
.form-group.has-feedback

View File

@ -6,7 +6,6 @@
%h5.modal-title#modal-ban-label
= t '.title'
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden= t("voc.close")
= bootstrap_form_tag(url: '/mod/ban', html: { method: :post, novalidate: :novalidate }) do |f|
= f.hidden_field :user, value: user.screen_name

View File

@ -4,7 +4,6 @@
.modal-header
%h5.modal-title#modal-commentsmile-label= t(".title")
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden Close
.modal-body
- if comment.smiles.all.count.zero?

View File

@ -4,7 +4,6 @@
.modal-header
%h5.modal-title#modal-list-memberships-label= t(".title")
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden= t("voc.close")
%div{ role: :tabpanel }
%ul.nav.nav-tabs.mt-1{ role: :tablist }

View File

@ -4,7 +4,6 @@
.modal-header
%h5.modal-title#modal-passwd-label= t(".title")
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden= t("voc.close")
.modal-body
= f.password_field :current_password, autocomplete: "current-password"

View File

@ -5,7 +5,6 @@
%h5.modal-title#modal-privileges-label
= t(".title", user: user.screen_name)
%button.btn-close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
%span.visually-hidden= t("voc.close")
%ul.list-group
- if current_user.has_cached_role?(:administrator)