ソースを参照

Merge branch 'feature/V8-4465_page_infos_pratiques' into develop

Olivier Massot 2 年 前
コミット
583b7764b8
1 ファイル変更10 行追加0 行削除
  1. 10 0
      ot_admin/Classes/Controller/SiteController.php

+ 10 - 0
ot_admin/Classes/Controller/SiteController.php

@@ -45,6 +45,7 @@ class SiteController extends ActionController
     private const TEMPLATE_NEWS = "OpenTalent.OtTemplating->news";
     private const TEMPLATE_MEMBERS = "OpenTalent.OtTemplating->members";
     private const TEMPLATE_MEMBERSCA = "OpenTalent.OtTemplating->membersCa";
+    private const TEMPLATE_STRUCTUREDETAILS = "OpenTalent.OtTemplating->structureDetails";
     private const TEMPLATE_LEGAL = "OpenTalent.OtTemplating->legal";
 
     // Pages dokType values
@@ -322,6 +323,15 @@ class SiteController extends ActionController
                 self::TEMPLATE_MEMBERSCA
             );
 
+            // > 'Présentation > Informations Pratiques' page
+            $this->insertPage(
+                $websiteUid,
+                $this->createdPagesIndex['/presentation'],
+                'Informations Pratiques',
+                '/informations-pratiques',
+                self::TEMPLATE_STRUCTUREDETAILS
+            );
+
             if ($isNetwork) {
                 // > 'Présentation > Les sociétés adhérentes' page
                 $this->insertPage(