mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-01-02 19:30:58 -05:00
Add message once meme is submitted in dashboard
This commit is contained in:
parent
d9b52e2bb0
commit
934a34f004
@ -83,6 +83,7 @@ class MemeController extends Controller
|
||||
'caption' => $request->input('caption'),
|
||||
'image' => $request->file('image'),
|
||||
]);
|
||||
return redirect('dashboard')->with('submitted', 'Meme submitted succesfully! Will be approved soon.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,20 +4,20 @@
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
@if (session('submitted'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('submitted') }}
|
||||
</div>
|
||||
@endif
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Dashboard') }}</div>
|
||||
<div class="card-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
{{ __('You are logged in!') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if ($data['memes_pending'])
|
||||
@if ($data && $data['memes_pending'])
|
||||
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 grid-memes mt-3">
|
||||
@foreach ($data['memes_pending'] as $meme)
|
||||
<div class="col mb-4">
|
||||
|
Loading…
Reference in New Issue
Block a user