diff --git a/application/views/scripts/about/index.phtml b/application/views/scripts/about/index.phtml index 6a01e1bf9..e270a8eb9 100644 --- a/application/views/scripts/about/index.phtml +++ b/application/views/scripts/about/index.phtml @@ -16,7 +16,7 @@ echo ( 0 === count($versionInfo) - ? '<p class="fileNotReadable">' . $this->translate( + ? '<p class="message-error">' . $this->translate( 'Can\'t determine Icinga Web 2\'s version' ) : '<p>' . nl2br(implode("\n", $versionInfo), false) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index 3a8713a38..5b5eee5ef 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -331,8 +331,7 @@ html { position: absolute; } -/* TODO: replace this with .error */ -.fileNotReadable { +.message-error { padding: 0.5em; background-color: @colorCritical; font-weight: bold;