28 lines
621 B
PHP
28 lines
621 B
PHP
@if(count($publications))
|
|
@foreach($publications as $department => $platforms)
|
|
<div>
|
|
<h3>
|
|
{{ $department }}
|
|
</h3>
|
|
<div>
|
|
@if(count($platforms))
|
|
@foreach($platforms as $post)
|
|
<hr>
|
|
<h5>
|
|
{{ $post->platform }} / {{ $post->type }}:
|
|
<br>
|
|
{{ $post->title }}
|
|
</h5>
|
|
<p>{{ str_limit(strip_tags($post->content), 150, '...') }}</p>
|
|
<a href="{{ $post->link }}">Link</a>
|
|
@endforeach
|
|
@else
|
|
@lang('admin.No publications planned for today');
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@else
|
|
@lang('admin.No publications planned for today');
|
|
@endif
|