Bug #1648

Use core.app_name instead of 'Icinga'

Added by tgelf almost 3 years ago. Updated over 2 years ago.

Status:ResolvedStart date:06/15/2011
Priority:NormalDue date:
Assignee:mhein% Done:

100%

Category:-
Target version:Icinga 1.x - 1.5
Icinga Version: DB Type:
Icinga Web Version: DB Version:
IDO Version: Browser Version:
OS Version:

Description

There is app_name to be found in settings.xml, however it isn't respected everywhere. It should be added in at least to places:

app/modules/Cronks/templates/System/PortalHelloSuccess.php:
- <h1>Welcome to Icinga (...
+ <h1>Welcome to (...

app/modules/Cronks/lib/js/CronkTabpanel.js
- document.title = "Icinga - "...
+ document.title = Whatever.config.get('app_name', 'Icinga') + " - "...

However, there is nothing like a Whatever.config.get(key, default) yet. IMO app_name but also version information and others shall somehow be made available to JS scripts.

Associated revisions

Revision 98002292
Added by mhein over 2 years ago

  • Configurable app name (fixes #1648)

History

#1 Updated by tgelf almost 3 years ago

There is another "Icinga" in PortalHelloSuccess.php - it should read '...widgets for the $app_name web front end...'

#2 Updated by mhein over 2 years ago

  • Assignee set to mhein
  • Target version set to 1.5

#3 Updated by mhein over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF