A platform for community discussion. Free, open, simple.
FEATURE: backlink to the site from Logster (#25669)
Krzysztof Kotlareke61a2fc35518
diff --git a/Gemfile.lock b/Gemfile.lockindex 92c76b95444..bd1381272ba 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -201,7 +201,7 @@ GEMlogstash-event (1.2.02)logstash-logger (0.26.1)logstash-event (~> 1.2)- logster (2.16.0)+ logster (2.17.0)loofah (2.22.0)crass (~> 1.0.2)nokogiri (>= 1.12.0)diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rbindex 5e08f664a69..14ab29ff7f8 100644--- a/config/initializers/100-logster.rb+++ b/config/initializers/100-logster.rb@@ -17,6 +17,9 @@ if Rails.env.development? && !Sidekiq.server? && ENV["RAILS_LOGS_STDOUT"] == "1"unless ActiveSupport::Logger.logger_outputs_to?(original_logger, STDOUT)original_logger.extend(ActiveSupport::Logger.broadcast(console))end++ Logster.config.back_to_site_link_path = "#{Discourse.base_path}/admin"+ Logster.config.back_to_site_link_text = I18n.t("dashboard.back_from_logster_text")endenddiff --git a/config/locales/server.en.yml b/config/locales/server.en.ymlindex 1b57f0d2500..98da3a52619 100644--- a/config/locales/server.en.yml+++ b/config/locales/server.en.yml@@ -1521,6 +1521,7 @@ en:v3_analytics_deprecated: "Your Discourse is currently using Google Analytics 3, which will no longer be supported after July 2023. <a href='https://meta.discourse.org/t/260498'>Upgrade to Google Analytics 4</a> now to continue receiving valuable insights and analytics for your website's performance."category_style_deprecated: "Your Discourse is currently using a deprecated category style which will be removed before the final beta release of Discourse 3.2. Please refer to <a href='https://meta.discourse.org/t/282441'>Moving to a Single Category Style Site Setting</a> for instructions on how to keep your selected category style."ember_version_warning: "Your site is running with the unsupported EMBER_VERSION=3 configuration. This may lead to unexpected issues with themes/plugins. Please remove the EMBER_VERSION configuration from your app.yml file and rebuild. See <a href='https://meta.discourse.org/t/287211'>https://meta.discourse.org/t/287211</a> for more information."+ back_from_logster_text: "Back to site"site_settings:allow_bulk_invite: "Allow bulk invites by uploading a CSV file"