mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +01:00
CS-14110: Show timestamp for general alerts
Original patch by: olga.smola reviewed-by: brian
This commit is contained in:
parent
9e9b2cbdcc
commit
01f172cd37
@ -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>
|
||||||
|
|||||||
@ -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)
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
}));
|
}));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user