diff --git a/apps/dashboard/app/apps/sys_router.rb b/apps/dashboard/app/apps/sys_router.rb index 9a4457d353..08fcbf256e 100644 --- a/apps/dashboard/app/apps/sys_router.rb +++ b/apps/dashboard/app/apps/sys_router.rb @@ -1,6 +1,6 @@ # The router class for all system apps. class SysRouter - attr_reader :name + attr_reader :name, :owner, :caption, :category #TODO: consider making SysRouter a subclass of # OodAppkit::Url @@ -23,6 +23,9 @@ def self.apps def initialize(name) @name = name.to_s + @owner = :sys + @caption = I18n.t('dashboard.system_apps_caption') + @category = "" end def token @@ -37,18 +40,6 @@ def type :sys end - def owner - :sys - end - - def caption - "System Installed App" - end - - def category - "" - end - def url "/pun/sys/#{name}" end diff --git a/apps/dashboard/config/locales/en.yml b/apps/dashboard/config/locales/en.yml index d1ade2a844..5e37ebd24c 100644 --- a/apps/dashboard/config/locales/en.yml +++ b/apps/dashboard/config/locales/en.yml @@ -84,7 +84,8 @@ en:
%{exception_message}
%{exception_trace}- apps_system_apps_title: "System Apps" + apps_system_apps_title: "System Apps" # Not used anywhere + system_apps_caption: "System Installed App" shell_app_title: "%{cluster_title} Shell Access"