Skip to content

Commit

Permalink
Add stateName to state tile in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fuhr committed Oct 29, 2014
1 parent e617177 commit 2e42d24
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -47,8 +47,9 @@ foreach ($notifications as $notification):
?>
<tr class="state <?= $stateName ?>">
<td class="state" title="<?= $this->translate(strtoupper($stateName)) . $this->translate(' at ') . date('Y-m-d H:i:s', $notification->notification_start_time); ?>">
<strong><?= $this->translate(strtoupper($stateName)) ?></strong><br />
<?= $this->dateTimeRenderer($notification->notification_start_time)->render(
$this->translate('on %s', 'datetime'),
$this->translate('at %s', 'datetime'),
$this->translate('at %s', 'time'),
$this->translate('%s ago', 'timespan')
);
Expand Down

0 comments on commit 2e42d24

Please sign in to comment.