浏览代码

correctif bug

develop
Charly 3 年前
父节点
当前提交
941afba59f
共有 6 个文件被更改,包括 17 次插入15 次删除
  1. +9
    -9
      src/Container/Site/BlockContainer.php
  2. +1
    -1
      src/Controller/Admin/PageCrudController.php
  3. +1
    -0
      src/Definition/Field/IndividualData/IndividualDataFieldDefinition.php
  4. +1
    -1
      src/Factory/CollectifData/CollectifDataFactory.php
  5. +4
    -3
      src/Form/SearchListForm.php
  6. +1
    -1
      templates/frontend/home.html.twig

+ 9
- 9
src/Container/Site/BlockContainer.php 查看文件

@@ -3,19 +3,19 @@
namespace App\Container\Site;

use App\Factory\Site\BlockFactory;
use App\Repository\CollectifData\CollectifDataRepositoryQuery;
use App\Repository\CollectifData\CollectifDataStore;
use App\Repository\Site\BlockRepositoryQuery;
use App\Repository\Site\BlockStore;

class BlockContainer
{
protected BlockFactory $factory;
protected CollectifDataRepositoryQuery $repositoryQuery;
protected CollectifDataStore $store;
protected BlockRepositoryQuery $repositoryQuery;
protected BlockStore $store;

public function __construct(
BlockFactory $factory,
CollectifDataRepositoryQuery $repositoryQuery,
CollectifDataStore $store
BlockFactory $factory,
BlockRepositoryQuery $repositoryQuery,
BlockStore $store
) {
$this->factory = $factory;
$this->repositoryQuery = $repositoryQuery;
@@ -27,12 +27,12 @@ class BlockContainer
return $this->factory;
}

public function getRepositoryQuery(): CollectifDataRepositoryQuery
public function getRepositoryQuery(): BlockRepositoryQuery
{
return $this->repositoryQuery;
}

public function getStore(): CollectifDataStore
public function getStore(): BlockStore
{
return $this->store;
}

+ 1
- 1
src/Controller/Admin/PageCrudController.php 查看文件

@@ -28,7 +28,7 @@ class PageCrudController extends AbstractCrudController
}
$fields[] = TextField::new('devAlias');
$fields[] = TextField::new('title');
$fields[] = CKEditorField::new('description');
$fields[] = CKEditorField::new('description')->hideOnIndex();
$fields[] = StatusField::new('status');

return $fields;

+ 1
- 0
src/Definition/Field/IndividualData/IndividualDataFieldDefinition.php 查看文件

@@ -26,6 +26,7 @@ class IndividualDataFieldDefinition extends PietroIndividualDataFieldDefinition
'revolt',
'projectInspiring',
'projectBoost',
'status',
];
}
}

+ 1
- 1
src/Factory/CollectifData/CollectifDataFactory.php 查看文件

@@ -2,7 +2,7 @@

namespace App\Factory\CollectifData;

use App\Entity\CollectifData;
use App\Entity\CollectifData\CollectifData;

class CollectifDataFactory
{

+ 4
- 3
src/Form/SearchListForm.php 查看文件

@@ -2,8 +2,9 @@

namespace App\Form;

use App\Entity\Territory;
use App\Entity\Thematic;
use App\Entity\Territory\Territory;
use App\Entity\Thematic\Thematic;
use Lc\PietroBundle\Model\AbstractData;
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
@@ -37,7 +38,7 @@ class SearchListForm extends AbstractType
'expanded' => true,
'multiple' => true,
'choices' => [
\Lc\PietroBundle\Model\AbstractData::getCategory()
AbstractData::getCategory()
]
])
->add('thematic', EntityType::class, [

+ 1
- 1
templates/frontend/home.html.twig 查看文件

@@ -39,7 +39,7 @@
<a class="link-carto link-slide" href="{{ path('app_carto_interactive') }}"
title="Découvrir la cartographie">Découvrir la cartographie</a>
<div>
<a class="link-concert" href="" title="Participer à la concertation">Participer à la
<a class="link-concert" href="{{ path('app_contribuate') }}" title="Participer à la concertation">Participer à la
concertation</a>
</div>
</div>

正在加载...
取消
保存