Replace some icons with better choices from FA6

This commit is contained in:
Andreas Nedbal 2023-01-03 16:16:16 +01:00 committed by Andreas Nedbal
parent 22491b19a6
commit a7269bb202
3 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@
= t("voc.block")
- if current_user.mod?
= button_to anonymous_block_path, method: :post, params: { question: question.id, global: true }, class: "dropdown-item" do
%i.fa.fa-fw.fa-volume-off
%i.fas.fa-fw.fa-user-slash
= t("voc.block_site_wide")
%a.dropdown-item{ href: moderation_questions_path(author_identifier: question.author_identifier) }
%i.fa.fa-fw.fa-user-secret
%i.fas.fa-fw.fa-mask
= t("voc.show_anonymous_questions")
- if current_user.admin?
%a.dropdown-item{ href: rails_admin_path_for_resource(question), target: "_blank" }

View File

@ -12,7 +12,7 @@
= render "actions/question", question: a.question
%h6.text-muted.media-heading.answerbox__question-user
- if a.question.author_is_anonymous
%i.fa.fa-user-secret{ title: t(".anon_hint") }
%i.fas.fa-mask{ title: t(".anon_hint") }
= t(".asked_html", user: user_screen_name(a.question.user, context_user: a.user, author_identifier: a.question.author_is_anonymous ? a.question.author_identifier: nil), time: time_tooltip(a.question))
- if !a.question.author_is_anonymous && !a.question.direct
·

View File

@ -7,7 +7,7 @@
.media-body
%h6.text-muted.media-heading.answerbox__question-user
- if i.question.author_is_anonymous
%i.fa.fa-user-secret{ title: t('.anon_hint') }
%i.fas.fa-mask{ title: t('.anon_hint') }
= t(".asked_html", user: user_screen_name(i.question.user, context_user: i.user, author_identifier: i.question.author_is_anonymous ? i.question.author_identifier : nil), time: time_tooltip(i.question))
- if !i.question.author_is_anonymous && i.question.answer_count.positive?
·