Show last updated for components. Closes #1627

This commit is contained in:
James Brooks
2016-03-20 16:23:21 +00:00
parent a64b5c1046
commit dcec1e2e95
3 changed files with 15 additions and 2 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
return [
// Components
'components' => [
'status' => [
'last_updated' => 'Last updated :timestamp',
'status' => [
1 => 'Operational',
2 => 'Performance Issues',
3 => 'Partial Outage',
+1 -1
View File
@@ -14,6 +14,6 @@
@endif
<div class="pull-right">
<small class="text-component-{{ $component->status }} {{ $component->status_color }}">{{ $component->human_status }}</small>
<small class="text-component-{{ $component->status }} {{ $component->status_color }}" data-toggle="tooltip" title="{{ trans('cachet.components.last_updated', ['timestamp' => $component->updated_at_formatted]) }}">{{ $component->human_status }}</small>
</div>
</li>