Add perma-link to each scheduled maintenance

PR #2912 adds scheduled maintenance ID to overview HTML.
This patch introduces permanent link and icon image by the ID.
This commit is contained in:
Shuichiro MAKIGAKI
2018-03-19 19:01:02 +09:00
parent 0fcd939f50
commit 7d51752251

View File

@@ -7,6 +7,7 @@
@foreach($scheduled_maintenance as $schedule)
<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="pull-right"><a href="#scheduled-{{ $schedule->id }}"><i class="ion ion-link"></i></a></div>
<div class="markdown-body">
{!! $schedule->formatted_message !!}
</div>