Replace some icons with better choices from FA6
This commit is contained in:
parent
22491b19a6
commit
a7269bb202
|
@ -13,10 +13,10 @@
|
||||||
= t("voc.block")
|
= t("voc.block")
|
||||||
- if current_user.mod?
|
- if current_user.mod?
|
||||||
= button_to anonymous_block_path, method: :post, params: { question: question.id, global: true }, class: "dropdown-item" do
|
= 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")
|
= t("voc.block_site_wide")
|
||||||
%a.dropdown-item{ href: moderation_questions_path(author_identifier: question.author_identifier) }
|
%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")
|
= t("voc.show_anonymous_questions")
|
||||||
- if current_user.admin?
|
- if current_user.admin?
|
||||||
%a.dropdown-item{ href: rails_admin_path_for_resource(question), target: "_blank" }
|
%a.dropdown-item{ href: rails_admin_path_for_resource(question), target: "_blank" }
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
= render "actions/question", question: a.question
|
= render "actions/question", question: a.question
|
||||||
%h6.text-muted.media-heading.answerbox__question-user
|
%h6.text-muted.media-heading.answerbox__question-user
|
||||||
- if a.question.author_is_anonymous
|
- 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))
|
= 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
|
- if !a.question.author_is_anonymous && !a.question.direct
|
||||||
·
|
·
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
.media-body
|
.media-body
|
||||||
%h6.text-muted.media-heading.answerbox__question-user
|
%h6.text-muted.media-heading.answerbox__question-user
|
||||||
- if i.question.author_is_anonymous
|
- 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))
|
= 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?
|
- if !i.question.author_is_anonymous && i.question.answer_count.positive?
|
||||||
·
|
·
|
||||||
|
|
Loading…
Reference in New Issue