mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
admin area, configuration menu
This commit is contained in:
parent
31176f8bc8
commit
41444f4157
@ -30,8 +30,19 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|||||||
*/
|
*/
|
||||||
class AdminController extends AbstractController
|
class AdminController extends AbstractController
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return \Symfony\Component\HttpFoundation\Response
|
||||||
|
*/
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
return $this->render('ChillEventBundle:Admin:layout.html.twig');
|
return $this->render('ChillEventBundle:Admin:layout.html.twig');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
||||||
|
*/
|
||||||
|
public function redirectToAdminIndexAction()
|
||||||
|
{
|
||||||
|
return $this->redirectToRoute('chill_main_admin_central');
|
||||||
|
}
|
||||||
}
|
}
|
@ -8,7 +8,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ 'Id'|trans }}</th>
|
<th>{{ 'Id'|trans }}</th>
|
||||||
<th>{{ 'Label'|trans }}</th>
|
<th>{{ 'Type'|trans }}</th>
|
||||||
<th>{{ 'Active'|trans }}</th>
|
<th>{{ 'Active'|trans }}</th>
|
||||||
<th>{{ 'Actions'|trans }}</th>
|
<th>{{ 'Actions'|trans }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -15,10 +15,19 @@ chill_event_admin:
|
|||||||
options:
|
options:
|
||||||
menus:
|
menus:
|
||||||
admin_section:
|
admin_section:
|
||||||
order: 1000
|
order: 2100
|
||||||
label: "Events configuration"
|
label: "Events configuration"
|
||||||
icons: ['calendar']
|
icons: ['calendar']
|
||||||
|
|
||||||
|
chill_event_admin_redirect_to_admin_index:
|
||||||
|
path: /{_locale}/admin/event_redirect_to_main
|
||||||
|
controller: Chill\EventBundle\Controller\AdminController::redirectToAdminIndexAction
|
||||||
|
options:
|
||||||
|
menus:
|
||||||
|
admin_events:
|
||||||
|
order: 0
|
||||||
|
label: Main admin menu
|
||||||
|
|
||||||
chill_event_admin_status:
|
chill_event_admin_status:
|
||||||
resource: "@ChillEventBundle/config/routes/status.yaml"
|
resource: "@ChillEventBundle/config/routes/status.yaml"
|
||||||
prefix: /{_locale}/admin/event/status
|
prefix: /{_locale}/admin/event/status
|
||||||
|
@ -84,10 +84,10 @@ Select a format: Choisir un format
|
|||||||
Export: Exporter
|
Export: Exporter
|
||||||
|
|
||||||
|
|
||||||
Events configuration: Événements
|
Events configuration: Config des événements
|
||||||
Events configuration menu: Menu des événements
|
Events configuration menu: Menu des événements
|
||||||
Event status: Statuts
|
Event status: Statuts par type d'événement
|
||||||
Event roles: Rôles
|
Event roles: Rôles par type d'événement
|
||||||
Event types: Types d'événements
|
Event types: Types d'événements
|
||||||
EventType list: Liste des types d'événements
|
EventType list: Liste des types d'événements
|
||||||
EventType: Types d'événements
|
EventType: Types d'événements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user