mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 12:42:35 +00:00
13 lines
331 B
Ruby
13 lines
331 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Admin::AccountActionsHelper
|
||
|
def account_action_type_label(type)
|
||
|
safe_join(
|
||
|
[
|
||
|
I18n.t("simple_form.labels.admin_account_action.types.#{type}"),
|
||
|
content_tag(:span, I18n.t("simple_form.hints.admin_account_action.types.#{type}"), class: 'hint'),
|
||
|
]
|
||
|
)
|
||
|
end
|
||
|
end
|