Add ID of scheduled maintenance to list group item

This allows us to use a static URL to a scheduled maintenance.
This commit is contained in:
Shuichiro MAKIGAKI
2018-02-14 18:04:44 +09:00
parent 8fc9c680d5
commit 94662d17f0

View File

@@ -5,7 +5,7 @@
</div>
<div class="list-group">
@foreach($scheduled_maintenance as $schedule)
<div class="list-group-item">
<div class="list-group-item" id="scheduled-{{ $schedule->id }}">
<strong>{{ $schedule->name }}</strong> <small class="date"><abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $schedule->scheduled_at_formatted }}" data-timeago="{{ $schedule->scheduled_at_iso }}"></abbr></small>
<div class="markdown-body">
{!! $schedule->formatted_message !!}