Skip to content

Commit

Permalink
fix translation admin
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Nov 21, 2023
1 parent 6de0e7f commit eaa6042
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -22,6 +22,7 @@ coverage.xml
.vs-code
/.phpunit.cache
/docs~preserve/
test.php

# Ignore assets copied from packages and files generated by tests/docs/dev env
**/public/bundles
Expand Down
2 changes: 2 additions & 0 deletions packages/admin/src/PageAbstractAdmin.php
Expand Up @@ -139,6 +139,8 @@ protected function exists(string $name): bool
*/
protected function configureFormFields(FormMapper $form): void
{
$this->adminFormFieldManager->setMessagePrefix(self::MESSAGE_PREFIX);

$this->apps->switchCurrentApp($this->getSubject());
$fields = $this->adminFormFieldManager->getFormFields($this, $this->formFieldKey);
// if (! isset($fields[0]) || ! \is_array($fields[0]) || ! isset($fields[1]) || ! \is_array($fields[1])) { throw new \LogicException(); }
Expand Down
14 changes: 13 additions & 1 deletion packages/docs/content/pages-list.md
Expand Up @@ -6,4 +6,16 @@ raw: true
toc: true
---

{# TODO #}
/**
* TODO documenter
* Possible value :
* - children
* - parent_children
* - related
* - related:comment:blog
* - comment:blog
* Operators : OR
* Example :
* [] related:comment:blog OR related
* [] children AND slug:homepage.
*/
3 changes: 1 addition & 2 deletions packages/docs/content/roadmap.md
Expand Up @@ -7,9 +7,8 @@ parent: contribute

## BugFix && To finish

- [Core] catch Exception and show them in flash messages, eg : PagesListTwigTrait / PageController
- [Core/Admin] catch Exception and show them in flash messages, eg : PagesListTwigTrait / PageController
- [Core] https://github.com/jolicode/JoliTypo
- [Core/AdminBlockEditor] Related, RelatedToParent

- [Admin] Block (left column) for viewing Page subtitle and navigate in the content
- [Admin] Page : Code Editor for Autres paramêtres (yaml highlighting)
Expand Down
Binary file modified packages/skeleton/var/app.db
Binary file not shown.

0 comments on commit eaa6042

Please sign in to comment.