fix FA5 icon
This commit is contained in:
commit
1b8d06c57c
|
@ -92,7 +92,7 @@ en:
|
|||
group_mention_template: "mentions of: @%{name}"
|
||||
group_message_template: "messages to: @%{name}"
|
||||
|
||||
admin_error: "Some chat integration channels have errors. Visit <a href='%{base_url}/admin/plugins/chat'>the chat integration section</a> to find out more."
|
||||
admin_error: "Some chat integration channels have errors. Visit <a href='%{base_path}/admin/plugins/chat'>the chat integration section</a> to find out more."
|
||||
|
||||
provider:
|
||||
|
||||
|
|
|
@ -29,7 +29,11 @@ after_initialize do
|
|||
DiscourseChat::Channel.find_each do |channel|
|
||||
error = true unless channel.error_key.blank?
|
||||
end
|
||||
I18n.t("chat_integration.admin_error") if error
|
||||
|
||||
if error
|
||||
base_path = Discourse.respond_to?(:base_path) ? Discourse.base_path : Discourse.base_uri
|
||||
I18n.t("chat_integration.admin_error", base_path: base_path)
|
||||
end
|
||||
end
|
||||
|
||||
DiscourseChat::Provider.mount_engines
|
||||
|
|
Loading…
Reference in New Issue