You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
372 lines
13 KiB
372 lines
13 KiB
sonata_doctrine_orm_admin:
|
|
templates:
|
|
form: ["Admin/Form/form_admin_fields.html.twig"]
|
|
|
|
sonata_admin:
|
|
templates:
|
|
layout: 'standard_layout.html.twig'
|
|
dashboard: 'dashboard.html.twig'
|
|
security:
|
|
# the default value
|
|
handler: sonata.admin.security.handler.role
|
|
role_admin: ROLE_ADMIN
|
|
role_super_admin: ROLE_SUPER_ADMIN
|
|
show_mosaic_button: false
|
|
search: false
|
|
title: 'Acdr Admin'
|
|
title_logo: images/toolbox.png
|
|
dashboard:
|
|
groups:
|
|
dashboard:
|
|
on_top: true
|
|
label: Dashboard
|
|
icon: '<i class="fa fa-dashboard"></i>'
|
|
label_catalogue: menulateral
|
|
items:
|
|
- route: sonata_admin_dashboard
|
|
label: menu.admin.dashboard.dashboard
|
|
|
|
admineditor:
|
|
label: Users
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-users"></i>'
|
|
items:
|
|
- sonata.user.admin.user
|
|
# - sonata.user.admin.group
|
|
roles:
|
|
- ROLE_EDITOR
|
|
- ROLE_VISOR
|
|
processeditor:
|
|
label: Processes
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-superpowers"></i>'
|
|
items:
|
|
- admin.procesos
|
|
- admin.template
|
|
- admin.component
|
|
- admin.formcomponent
|
|
- admin.external
|
|
- admin.tipo_pregunta
|
|
- admin.tipos_recursos
|
|
roles:
|
|
- ROLE_EDITOR
|
|
- ROLE_VISOR
|
|
logseditor:
|
|
label: Logs
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-superpowers"></i>'
|
|
items:
|
|
- admin.maillogger
|
|
roles:
|
|
- ROLE_EDITOR
|
|
- ROLE_VISOR
|
|
|
|
# Disposicion Menu Carlos #
|
|
mytools:
|
|
#on_top: true
|
|
label: mytools
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-wrench"></i>'
|
|
items:
|
|
- admin.procesos
|
|
roles: [ROLE_BSO, ROLE_GREENENTERPRENEUR]
|
|
mytoolstrainer:
|
|
on_top: true
|
|
label: mytools
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-wrench"></i>'
|
|
items:
|
|
- admin.procesos.comentar
|
|
roles: [ROLE_TRAINER]
|
|
|
|
#gbmmanagement:
|
|
# on_top: true
|
|
# label: gbmmgt
|
|
# label_catalogue: menulateral
|
|
# icon: '<i class="fa fa-wrench"></i>'
|
|
# items:
|
|
# - route: sonata_admin_dashboard
|
|
# route_params: { mode: gbm }
|
|
# label: gbmmgt
|
|
# roles: [ROLE_TRAINER]
|
|
|
|
#gbpmanagement:
|
|
# on_top: true
|
|
# label: gbpmgt
|
|
# label_catalogue: menulateral
|
|
# icon: '<i class="fa fa-wrench"></i>'
|
|
# items:
|
|
# - route: sonata_admin_dashboard
|
|
# route_params: { mode: gbp }
|
|
# label: gbpmgt
|
|
# roles: [ROLE_TRAINER]
|
|
|
|
mycalendar:
|
|
on_top: true
|
|
label: mycalendar
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-calendar"></i>'
|
|
items:
|
|
- admin.calendar
|
|
roles: [ROLE_TRAINER, ROLE_GREENENTERPRENEUR]
|
|
|
|
mycontacts:
|
|
on_top: true
|
|
label: mycontacts
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-group"></i>'
|
|
items:
|
|
- admin.contact
|
|
roles: [ROLE_TRAINER, ROLE_BSO, ROLE_GREENENTERPRENEUR, ROLE_FINANCIALACTOR]
|
|
|
|
#alltools:
|
|
# on_top: true
|
|
# label: allstools
|
|
# label_catalogue: menulateral
|
|
# icon: '<i class="fa fa-cogs"></i>'
|
|
# items:
|
|
# - admin.documentos
|
|
# roles: [ROLE_GREENENTERPRENEUR]
|
|
|
|
callapplications:
|
|
on_top: true
|
|
label: callapplications
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-desktop"></i>'
|
|
items:
|
|
- admin.convocatoria
|
|
roles: [ROLE_BSO, ROLE_GREENENTERPRENEUR]
|
|
|
|
workshops:
|
|
on_top: true
|
|
label: workshops
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-desktop"></i>'
|
|
items:
|
|
- admin.workshop
|
|
roles: [ROLE_BSO]
|
|
encuestas:
|
|
label: encuesta
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-desktop"></i>'
|
|
items:
|
|
- admin.encuesta
|
|
- admin.formulario
|
|
roles: [ROLE_BSO, ROLE_SUPER_ADMIN, ROLE_VISOR]
|
|
|
|
news:
|
|
on_top: true
|
|
label: news
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-newspaper-o"></i>'
|
|
items:
|
|
- admin.news
|
|
roles: [ROLE_BSO]
|
|
|
|
asociados:
|
|
label: Maestros
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-question-circle"></i>'
|
|
items:
|
|
- admin.green_entrepreneur
|
|
- admin.trainer
|
|
roles: [ROLE_BSO]
|
|
|
|
#mytraining:
|
|
# on_top: true
|
|
# label: mytraining
|
|
# label_catalogue: menulateral
|
|
# icon: '<i class="fa fa-newspaper-o"></i>'
|
|
# items:
|
|
# - admin.green_entrepreneur
|
|
# roles: [ROLE_FINANCIALACTOR]
|
|
|
|
# Menu super admin
|
|
adminusers:
|
|
on_top: false
|
|
label: Procesos
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-gear"></i>'
|
|
items:
|
|
- admin.procesos
|
|
- admin.tarea
|
|
- admin.template
|
|
- admin.component
|
|
- admin.formcomponent
|
|
- admin.external
|
|
- admin.tipo_pregunta
|
|
- admin.tipos_recursos
|
|
roles: [ROLE_SUPER_ADMIN]
|
|
|
|
users:
|
|
on_top: false
|
|
label: Usuarios
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-address-book"></i>'
|
|
items:
|
|
- admin.bso
|
|
- admin.green_entrepreneur
|
|
- admin.financial_actor
|
|
- admin.trainer
|
|
roles: [ROLE_SUPER_ADMIN, ROLE_VISOR]
|
|
|
|
admin:
|
|
on_top: false
|
|
label: Maestros
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-question-circle"></i>'
|
|
items:
|
|
- admin.convocatoria
|
|
- admin.news
|
|
- admin.workshop
|
|
- admin.contador
|
|
- admin.bookmarks
|
|
- admin.encuesta
|
|
roles: [ROLE_SUPER_ADMIN, ROLE_EDITOR, ROLE_VISOR]
|
|
|
|
mantenimiento:
|
|
on_top: false
|
|
label: Mantenimiento
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-question-circle"></i>'
|
|
items:
|
|
# - admin.paises
|
|
# - admin.generos
|
|
# - admin.redessociales
|
|
# - admin.habilidades
|
|
- admin.sector
|
|
- admin.indicador
|
|
- admin.bussiness_stage
|
|
roles: [ROLE_SUPER_ADMIN, ROLE_EDITOR, ROLE_VISOR]
|
|
estadistica:
|
|
on_top: false
|
|
label: Estadistica
|
|
label_catalogue: menulateral
|
|
icon: '<i class="fa fa-line-chart"></i>'
|
|
items:
|
|
- admin.respuestas
|
|
- admin.respuestas_historicas
|
|
roles: [ROLE_SUPER_ADMIN, ROLE_EDITOR, ROLE_VISOR]
|
|
|
|
blocks:
|
|
|
|
- type: dashboard.block.stepprogress
|
|
position: top
|
|
settings:
|
|
mode: admin
|
|
class: documents-block
|
|
roles: [ROLE_GREENENTERPRENEUR]
|
|
|
|
-
|
|
type: dashboard.block.chat
|
|
position: center
|
|
class: chat-block
|
|
settings:
|
|
mode: admin
|
|
roles: [ROLE_TRAINER, ROLE_BSO, ROLE_GREENENTERPRENEUR, ROLE_FINANCIALACTOR]
|
|
|
|
-
|
|
type: dashboard.block.convocatoria
|
|
position: down
|
|
class: convocatoria-block
|
|
settings:
|
|
mode: admin
|
|
code: admin.convocatoria
|
|
roles: [ROLE_BSO]
|
|
|
|
-
|
|
type: dashboard.block.workshop
|
|
position: down
|
|
class: workshop-block
|
|
settings:
|
|
mode: admin
|
|
code: admin.workshop
|
|
roles: [ROLE_BSO, ROLE_GREENENTERPRENEUR]
|
|
|
|
-
|
|
type: dashboard.block.entrepreneurs
|
|
position: down
|
|
class: entrepreneurs-block
|
|
settings:
|
|
code: admin.green_entrepreneur
|
|
roles: [ROLE_FINANCIALACTOR]
|
|
|
|
-
|
|
type: dashboard.block.trainerclasses
|
|
position: down
|
|
class: trainerclasses-block
|
|
settings:
|
|
mode: gbp
|
|
roles:
|
|
- ROLE_TRAINER
|
|
|
|
-
|
|
type: dashboard.block.progress
|
|
position: right
|
|
class: progress-block
|
|
settings:
|
|
mode: admin
|
|
roles: [ROLE_GREENENTERPRENEUR]
|
|
|
|
-
|
|
type: dashboard.block.progressbso
|
|
position: right
|
|
class: progress-block
|
|
settings:
|
|
code: admin.workshop
|
|
roles: [ROLE_BSO]
|
|
|
|
-
|
|
type: dashboard.block.progresstrainer
|
|
position: right
|
|
class: progress-block
|
|
settings:
|
|
code: admin.workshop
|
|
roles: [ROLE_TRAINER]
|
|
|
|
-
|
|
type: dashboard.block.documents
|
|
position: right
|
|
settings:
|
|
mode: admin
|
|
class: documents-block
|
|
roles: [ROLE_FINANCIALACTOR, ROLE_GREENENTERPRENEUR, ROLE_TRAINER]
|
|
|
|
- type: dashboard.block.news
|
|
position: right
|
|
settings:
|
|
mode: admin
|
|
class: news-block
|
|
roles: [ROLE_FINANCIALACTOR]
|
|
|
|
-
|
|
type: dashboard.block.achievement
|
|
position: right
|
|
class: achievement-block
|
|
settings:
|
|
mode: admin
|
|
roles: [ROLE_GREENENTERPRENEUR]
|
|
|
|
-
|
|
type: dashboard.block.stats
|
|
position: center
|
|
class: stats-block
|
|
settings:
|
|
mode: admin
|
|
roles: [ROLE_SUPER_ADMIN, ROLE_EDITOR, ROLE_VISOR]
|
|
sonata_block:
|
|
blocks:
|
|
sonata.admin.block.admin_list:
|
|
contexts: [admin]
|
|
dashboard.block.workshop:
|
|
contexts: [admin]
|
|
dashboard.block.progress:
|
|
contexts: [admin]
|
|
dashboard.block.stepprogress:
|
|
contexts: [admin]
|
|
dashboard.block.document:
|
|
contexts: [admin]
|
|
dashboard.block.entrepreneurs:
|
|
contexts: [admin]
|
|
dashboard.block.stats:
|
|
contexts: [admin]
|