Wizard: Add proper titles to the button-like links on the last page

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:33:23 +01:00
parent 60a9d1f224
commit e6957967f9

View File

@ -18,9 +18,25 @@
</div>
<div class="buttons">
<?php if ($success): ?>
<a href="<?= $this->href('authentication/login'); ?>" class="button-like login"><?= $this->translate('Login to Icinga Web 2'); ?></a>
<?= $this->qlink(
$this->translate('Login to Icinga Web 2'),
'authentication/login',
null,
array(
'class' => 'button-like login',
'title' => $this->translate('Show the login page of Icinga Web 2')
)
); ?>
<?php else: ?>
<a href="<?= $this->href(); ?>" class="button-like"><?= $this->translate('Back'); ?></a>
<?= $this->qlink(
$this->translate('Back'),
null,
null,
array(
'class' => 'button-like',
'title' => $this->translate('Show previous wizard-page')
)
); ?>
<?php endif ?>
</div>
</div>