fix FA5 icon

This commit is contained in:
Penar Musaraj 2018-11-11 22:36:16 -05:00
commit 1b8d06c57c
2 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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