Phrase external auth warnings more neutral

refs #8274
This commit is contained in:
Johannes Meyer 2015-01-28 16:22:20 +01:00
parent 7ad44b8411
commit 78f5bf4f3d
3 changed files with 13 additions and 15 deletions

View File

@ -17,13 +17,9 @@
'</a>' '</a>'
); ?></p> ); ?></p>
<?php elseif ($requiresExternalAuth): ?> <?php elseif ($requiresExternalAuth): ?>
<p class="icon-info info-box"><?= sprintf( <p class="info-box"><span class="icon-info"></span><?= $this->translate(
$this->translate(
'You\'re currently not authenticated using any of the web server\'s authentication mechanisms.' 'You\'re currently not authenticated using any of the web server\'s authentication mechanisms.'
. ' Make sure you\'ll configure such either by using the %s or by setting it up manually,' . ' Make sure you\'ll configure such, otherwise you\'ll not be able to login.'
. ' otherwise you\'ll not be able to login.'
),
'<em title="icingacli help users">IcingaCLI</em>'
); ?></p> ); ?></p>
<?php endif ?> <?php endif ?>
<h1><?= $this->translate('Welcome to Icinga Web 2'); ?></h1> <h1><?= $this->translate('Welcome to Icinga Web 2'); ?></h1>

View File

@ -42,14 +42,10 @@ class AuthenticationPage extends Form
'note', 'note',
'external_note', 'external_note',
array( array(
'value' => sprintf( 'value' => $this->translate(
$this->translate(
'You\'re currently not authenticated using any of the web server\'s authentication ' 'You\'re currently not authenticated using any of the web server\'s authentication '
. 'mechanisms. Make sure you\'ll configure such either by using the %s once the ' . 'mechanisms. Make sure you\'ll configure such, otherwise you\'ll not be able to '
. 'wizard is complete or by setting it up manually, otherwise you\'ll not be able ' . 'log into Icinga Web 2.'
. 'to log into Icinga Web 2.'
),
'<em title="icingacli help users">IcingaCLI</em>'
), ),
'decorators' => array( 'decorators' => array(
'ViewHelper', 'ViewHelper',

View File

@ -129,8 +129,14 @@
p.info-box { p.info-box {
width: 50%; width: 50%;
height: 2.2em;
margin: 0 auto 2.5em; margin: 0 auto 2.5em;
span.icon-info {
float: left;
height: 100%;
}
em { em {
text-decoration: underline; text-decoration: underline;
} }