mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
workflow change
This commit is contained in:
24
resources/views/public/allnews.blade.php
Normal file
24
resources/views/public/allnews.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('layouts.public.main')
|
||||
|
||||
@section('content')
|
||||
<article id="main">
|
||||
<section class="wrapper style5">
|
||||
<div class="inner">
|
||||
<h2>Nouvelles</h2>
|
||||
<p>Aliquam ut ex ut interdum donec amet imperdiet eleifend</p>
|
||||
<div class="row">
|
||||
@foreach ($news as $new)
|
||||
<div class="col-md-4">
|
||||
<h3>{{ $new->title }}</h3>
|
||||
<p class="news-body-full">
|
||||
{{ $new->body }}
|
||||
</p>
|
||||
<span class="news-small">{{ \App\User::find($new->user_id)->fullname()}}, {{ $new->created_at }}</span>
|
||||
<a name="news" id="news" class="btn btn-block btn-secondary mt-2" href="/news/{{ $new->id }}" role="button">Voir plus!</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user