Add proper titles to the acknowledgements component view

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:26:21 +01:00
parent 598294d2a2
commit 74360ee8e6
1 changed files with 9 additions and 3 deletions

View File

@ -35,9 +35,15 @@ if ($object->acknowledged): ?>
);
}
?>
<a href="<?= $ackLink ?>" data-base-target="_self">
<?= $this->icon('ok') ?> <?= $this->translate('Acknowledge') ?>
</a>
<?= $this->qlink(
$this->icon('ok') . ' ' . $this->translate('Acknowledge'),
$ackLink,
null,
array('title' => $this->translate(
'Acknowledge this problem, suppress all future notifications for it and tag it as being handled'
)),
false
); ?>
<?php } else {
echo '&#45;';
} // endif ?>