mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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
|
||||
{
|
||||
/**
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
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>
|
||||
<tr>
|
||||
<th>{{ 'Id'|trans }}</th>
|
||||
<th>{{ 'Label'|trans }}</th>
|
||||
<th>{{ 'Type'|trans }}</th>
|
||||
<th>{{ 'Active'|trans }}</th>
|
||||
<th>{{ 'Actions'|trans }}</th>
|
||||
</tr>
|
||||
|
@ -15,10 +15,19 @@ chill_event_admin:
|
||||
options:
|
||||
menus:
|
||||
admin_section:
|
||||
order: 1000
|
||||
order: 2100
|
||||
label: "Events configuration"
|
||||
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:
|
||||
resource: "@ChillEventBundle/config/routes/status.yaml"
|
||||
prefix: /{_locale}/admin/event/status
|
||||
|
@ -84,10 +84,10 @@ Select a format: Choisir un format
|
||||
Export: Exporter
|
||||
|
||||
|
||||
Events configuration: Événements
|
||||
Events configuration: Config des événements
|
||||
Events configuration menu: Menu des événements
|
||||
Event status: Statuts
|
||||
Event roles: Rôles
|
||||
Event status: Statuts par type d'événement
|
||||
Event roles: Rôles par type d'événement
|
||||
Event types: Types d'événements
|
||||
EventType list: Liste des types d'événements
|
||||
EventType: Types d'événements
|
||||
|
Loading…
x
Reference in New Issue
Block a user