From 6aac916fb183f47596e8d543756faac27750a21e Mon Sep 17 00:00:00 2001 From: Marek Hulan Date: Wed, 26 Jun 2024 17:06:08 +0200 Subject: [PATCH] Fixes #37086 - fix the obsolete chat information --- app/controllers/links_controller.rb | 2 +- app/views/about/index.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/links_controller.rb b/app/controllers/links_controller.rb index 14abadfcf52..d9e2a940d13 100644 --- a/app/controllers/links_controller.rb +++ b/app/controllers/links_controller.rb @@ -18,7 +18,7 @@ def external_url(type:, options: {}) when 'wiki' wiki_url(section: options['section']) when 'chat' - 'https://libera.chat' + 'https://app.element.io/#/room/#theforeman:matrix.org' when 'forums' forum_url(options['post']) when 'issues' diff --git a/app/views/about/index.html.erb b/app/views/about/index.html.erb index 2d4d53cd2ef..6a45b1fb2b6 100644 --- a/app/views/about/index.html.erb +++ b/app/views/about/index.html.erb @@ -125,8 +125,8 @@
  • <%= link_to _('Manual'), documentation_url, :rel => "external" %>
  • <%= link_to _('Wiki'), external_link_path(type: 'wiki'), :rel => "external" %>
  • -
    <%= _("IRC") %>
    -

    <%= (_("You can find The Foreman on the %{liberachat} (irc.libera.chat) network. For general support, please visit #theforeman and for development specific related chat, please visit #theforeman-dev.") % {:liberachat => link_to("Libera.Chat", external_link_path(type: 'chat'), :rel => "external")}).html_safe %>

    +
    <%= _("Matrix") %>
    +

    <%= (_("You can find The Foreman on %{Matrix}. For general support, please visit the #theforeman:matrix.org room and for development specific related chat, please visit the #theforeman-dev:matrix.org room.") % {:Matrix => link_to("Matrix.org", external_link_path(type: 'chat'), :rel => "external")}).html_safe %>

    <%= _("Forums") %>

    <%= (_("You can use the %{community_forums} to ask for help or advice, participate in discussions around challenges or ideas you have with Foreman.") % {:community_forums => link_to( _('community forums'), external_link_path(type: 'forums'), :rel => "external")}).html_safe %>

    <%= _("Issue tracker") %>