From: Stephen Cameron Date: Wed, 4 Sep 2019 16:34:53 +0000 (+0200) Subject: Done #2956 @3 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=744864395808811d033878402c3773946331470a;p=pmi.git Done #2956 @3 --- diff --git a/app/Templates/Documentation.php b/app/Templates/Documentation.php new file mode 100644 index 0000000..f84de8e --- /dev/null +++ b/app/Templates/Documentation.php @@ -0,0 +1,14 @@ +removeField('intro'); + if (!$this->_hasIntro) { + + $this->removeField('intro'); - $this->addField(['name' => 'page_heading', - 'type' => 'Text', - 'label' => 'Titre de la page', - 'tab' => 'Contenus']); + $this->addField(['name' => 'page_heading', + 'type' => 'Text', + 'label' => 'Titre de la page', + 'tab' => 'Contenus']); + } // Enable form $this->addForm(); diff --git a/app/Templates/Support.php b/app/Templates/Support.php deleted file mode 100644 index 1191a99..0000000 --- a/app/Templates/Support.php +++ /dev/null @@ -1,13 +0,0 @@ - - - +
+ + + +