mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Merge pull request #2897 from uxen-ab/show-incident-updates-on-the-status-page
Show incident updates on the status page
This commit is contained in:
commit
8fc9c680d5
@ -423,4 +423,8 @@ body.status-page {
|
||||
}
|
||||
}
|
||||
}
|
||||
//Display inline the incident update message.
|
||||
.incident-update-item > p {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
@ -33,10 +33,17 @@
|
||||
@if($incident->updates->isNotEmpty())
|
||||
<div class="list-group">
|
||||
@foreach($incident->updates as $update)
|
||||
<a class="list-group-item" href="{{ $update->permalink }}">
|
||||
<i class="{{ $update->icon }}" title="{{ $update->human_status }}" data-toggle="tooltip"></i> <strong>{{ Str::limit($update->raw_message, 20) }}</strong>
|
||||
<small>{{ $update->created_at_diff }}</small>
|
||||
<a class="list-group-item incident-update-item" href="{{ $update->permalink }}">
|
||||
<i class="{{ $update->icon }}" title="{{ $update->human_status }}" data-toggle="tooltip"></i>
|
||||
{!! $update->formatted_message !!}
|
||||
<small>
|
||||
<abbr class="timeago links" data-toggle="tooltip"
|
||||
data-placement="right" title="{{ $update->timestamp_formatted }}"
|
||||
data-timeago="{{ $update->timestamp_iso }}">
|
||||
</abbr>
|
||||
</small>
|
||||
<span class="ion-ios-arrow-right pull-right"></span>
|
||||
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user