Merge branch 'develop' into trunk
This commit is contained in:
commit
94d39ed5fd
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ class NewsController extends Controller
|
|||
}
|
||||
}
|
||||
}))
|
||||
)->where('published', true)->orderBy('created_at')->paginate(6);
|
||||
)->where('published', true)->orderByDesc('created_at')->paginate(6);
|
||||
|
||||
return view('fo.pages.news.index', compact('categories', 'news', 'filters_activated'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
@endforeach
|
||||
</div>
|
||||
<div class="card-txt d-flex flex-column justify-content-between align-items-center flex-grow-1">
|
||||
<div class="ck-content card-subtitle ff-poppins-regular d-none d-sm-block mx-4 my-0">{!! clean($news_item->content) !!}</div>
|
||||
<p class="card-subtitle ff-poppins-regular mx-4 my-0">{{ $item->subtitle }}</p>
|
||||
<div class="butn-wrap mt-4">
|
||||
<a class="butn-sec m-0 bg-transparent"
|
||||
href="{{ route('fo.news.show', ['actu' => $news_item->slug]) }}">{{ __('À lire') }}</a>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue