Merge branch 'develop'

This commit is contained in:
Simon Vieille 2024-03-25 13:03:01 +01:00
commit b21967028e
3 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,7 @@
### Fixed
* fix default crud sort
* fix hidden save button in file manager
## [v1.24.1] - 2024-02-01
### Fixed

View file

@ -11,11 +11,11 @@ use <?php echo $entity; ?> as Entity;
use <?php echo $factory; ?> as Factory;
use <?php echo $form; ?> as Type;
use <?php echo $repository_query; ?> as RepositoryQuery;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Attribute\IsGranted;
class <?php echo $class_name; ?> extends CrudController
{

View file

@ -197,6 +197,10 @@
</div>
<div>
{% if splInfo.isFile and not isLocked %}
<button type="submit" class="btn btn-sm btn-primary" form="form-fm-attributes">{{ 'Save'|trans }}</button>
{% endif %}
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ 'Close'|trans }}</button>
</div>
{% endif %}