link reporting screen for users and month charts (#1842)

This commit is contained in:
Kevin Papst
2020-07-26 20:28:48 +02:00
committed by GitHub
parent 130e6ac057
commit 599b18ac99
9 changed files with 80 additions and 23 deletions

View File

@@ -17,6 +17,16 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
class MonthByUserForm extends AbstractType
{
/**
* Simplify cross linking between pages by removing the block prefix.
*
* @return null|string
*/
public function getBlockPrefix()
{
return null;
}
/**
* {@inheritdoc}
*/
@@ -37,6 +47,8 @@ class MonthByUserForm extends AbstractType
$resolver->setDefaults([
'data_class' => MonthByUser::class,
'include_user' => false,
'csrf_protection' => false,
'method' => 'GET',
]);
}
}