phpvms/resources/views/layouts/default/widgets/latest_news.blade.php
Nabeel S 6e9dcf8a31
Design and file upload issues (#399)
* Fix some styling issues/edit button on PIREP overview page

* Fix validation for file/url upload

* Formatting
2019-09-16 15:17:51 -04:00

21 lines
701 B
PHP

<div class="nav nav-tabs" role="tablist" style="background: #067ec1; color: #FFF;">
@lang('widgets.latestnews.news')
</div>
<div class="card border-blue-bottom">
<div class="card-body" style="min-height: 0px">
@if($news->count() === 0)
<div class="text-center text-muted" style="padding: 30px;">
@lang('widgets.latestnews.nonewsfound')
</div>
@endif
@foreach($news as $item)
<h4 style="margin-top: 0px;">{{ $item->subject }}</h4>
<p class="category">{{ $item->user->name }}
- {{ show_datetime($item->created_at) }}</p>
{{ $item->body }}
@endforeach
</div>
</div>