Skip to content

Commit

Permalink
Fixes #37086 - fix the obsolete chat information
Browse files Browse the repository at this point in the history
  • Loading branch information
ares authored and ekohl committed Aug 2, 2024
1 parent 7b5b2cf commit 6aac916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/links_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions app/views/about/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
<li><%= link_to _('Manual'), documentation_url, :rel => "external" %></li>
<li><%= link_to _('Wiki'), external_link_path(type: 'wiki'), :rel => "external" %></li>
</ul>
<h6><%= _("IRC") %></h6>
<p><%= (_("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 %></p>
<h6><%= _("Matrix") %></h6>
<p><%= (_("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 %></p>
<h6><%= _("Forums") %></h6>
<p><%= (_("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 %></p>
<h6><%= _("Issue tracker") %></h6>
Expand Down

0 comments on commit 6aac916

Please sign in to comment.