diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 40ce97e..3507f4a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -5,6 +5,10 @@ module ApplicationHelper File.exist?("/etc/init.d/td-agent") end + def fluentd_ui_title + ENV["FLUENTD_UI_TITLE"] || "Fluentd UI" + end + def language_name(locale) # NOTE: these are fixed terms, not i18n-ed { diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index cab7d16..e18f229 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -7,7 +7,7 @@