Merge branch 'participation-exhausted' into 'master'

feat: added route and link in bo for participation-exhausted

See merge request ldc-web/projets/gen-game-web!51
This commit is contained in:
Vincent BRIDIER 2025-08-07 14:53:28 +00:00
commit 2339684802
4 changed files with 17 additions and 1 deletions

View file

@ -72,6 +72,16 @@ class Re7Controller extends Controller
return view('theme::pages.participation.participate');
}
/**
* Show code input page
*
* @return \Illuminate\Contracts\View\View
*/
public function participationExhausted(): View
{
return view('theme::pages.participation.participation-exhausted');
}
// * -- Participation
/**

View file

@ -1,6 +1,6 @@
{
"name": "uwil/gen-game-web",
"version": "2.5.10",
"version": "2.5.11",
"type": "project",
"description": "Game generator",
"support": {

View file

@ -20,6 +20,11 @@
title="{{ __('Afficher la page de participation dans un nouvel onglet') }}"
target="_blank">{{ __('Participation') }}</a>
{{-- PARTICIPATION EXHAUSTED --}}
<a class="list-group-item list-group-item-action" data-bs-toggle="tooltip" href="{{ route('re7.participation-exhausted') }}"
title="{{ __('Afficher la page participation épuisée dans un nouvel onglet') }}"
target="_blank">{{ __('Participation épuisée') }}</a>
{{-- ENDGAME --}}
<a class="list-group-item list-group-item-action" data-bs-toggle="tooltip" href="{{ route('re7.end-game') }}"
title="{{ __('Afficher la page de fin de jeu dans un nouvel onglet') }}"

View file

@ -9,6 +9,7 @@ Route::prefix('re7')->name('re7.')->middleware(['auth:backend'])->group(function
Route::get('end-game', [Re7Controller::class, 'endGame'])->name('end-game');
Route::get('discount', [Re7Controller::class, 'discount'])->name('discount');
Route::get('participate', [Re7Controller::class, 'participate'])->name('participate');
Route::get('participation-exhausted', [Re7Controller::class, 'participationExhausted'])->name('participation-exhausted');
Route::get('gain/{prize}', [Re7Controller::class, 'prize'])->name('prize');
Route::get('perdu', [Re7Controller::class, 'loose'])->name('loose');
Route::get('mail-prize/{prize}', [Re7Controller::class, 'mailPrize'])->name('mail-prize');