|
@@ -2795,7 +2795,7 @@ EOT;
|
|
|
&& $this->hasRoute('create')
|
|
|
) {
|
|
|
$list['create'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:create_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_create'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2804,7 +2804,7 @@ EOT;
|
|
|
&& $this->hasRoute('edit')
|
|
|
) {
|
|
|
$list['edit'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:edit_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_edit'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2813,7 +2813,7 @@ EOT;
|
|
|
&& $this->hasRoute('history')
|
|
|
) {
|
|
|
$list['history'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:history_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_history'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2823,7 +2823,7 @@ EOT;
|
|
|
&& $this->hasRoute('acl')
|
|
|
) {
|
|
|
$list['acl'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:acl_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_acl'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2833,7 +2833,7 @@ EOT;
|
|
|
&& $this->hasRoute('show')
|
|
|
) {
|
|
|
$list['show'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:show_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_show'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2842,7 +2842,7 @@ EOT;
|
|
|
&& $this->hasRoute('list')
|
|
|
) {
|
|
|
$list['list'] = array(
|
|
|
- 'template' => 'SonataAdminBundle:Button:list_button.html.twig',
|
|
|
+ 'template' => $this->getTemplate('button_list'),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -2882,7 +2882,7 @@ EOT;
|
|
|
$actions['create'] = array(
|
|
|
'label' => 'link_add',
|
|
|
'translation_domain' => 'SonataAdminBundle',
|
|
|
- 'template' => 'SonataAdminBundle:CRUD:dashboard__action_create.html.twig',
|
|
|
+ 'template' => $this->getTemplate('action_create'),
|
|
|
'url' => $this->generateUrl('create'),
|
|
|
'icon' => 'plus-circle',
|
|
|
);
|