CS-14110: Show timestamp for general alerts

Original patch by: olga.smola
reviewed-by: brian
This commit is contained in:
bfederle 2012-06-20 14:50:26 -07:00
parent 9e9b2cbdcc
commit 01f172cd37
2 changed files with 3 additions and 1 deletions

View File

@ -1158,6 +1158,7 @@
<div class="content"> <div class="content">
<span class="title" data-list-item="name">Alert 1</span> <span class="title" data-list-item="name">Alert 1</span>
<p data-list-item="description">Alert 1</p> <p data-list-item="description">Alert 1</p>
<p data-list-item="sent">Alert 1</p>
</div> </div>
</li> </li>
</ul> </ul>

View File

@ -202,7 +202,8 @@
alerts: $.map(alerts, function(alert) { alerts: $.map(alerts, function(alert) {
return { return {
name: cloudStack.converters.toAlertType(alert.type), name: cloudStack.converters.toAlertType(alert.type),
description: alert.description description: alert.description,
sent: cloudStack.converters.toLocalDate(alert.sent)
}; };
}) })
})); }));