]> _ Git - fluidbook-v3.git/commitdiff
wip #7137 @0:20
authorsoufiane <soufiane@cubedesigners.com>
Thu, 10 Apr 2025 15:09:49 +0000 (17:09 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 10 Apr 2025 15:09:49 +0000 (17:09 +0200)
framework/application/forms/RequestQuote.php
framework/application/views/helpers/QuoteForm.php
less/102-intro.less

index 720c163f5b828dae86edf888ee07ac34b0ba90b7..bc88e34555a443787c1793b4f8adb27a5bc73577 100644 (file)
@@ -98,6 +98,9 @@ class Fluidbook_Form_RequestQuote extends CubeIT_Form
 
                // Inject tips HTML into form via placeholder
                $tips = $this->getView()->markupDotclear($this->getView()->option('quote_form_tips'), [], ['class' => 'tips']);
+        if(strstr(SITE_URL, 'elearning')) {
+            $tips = "";
+        }
                return str_replace('<!-- TIPS -->', '<div id="wrap-tips">' . $tips . '</div>', $form);
        }
 
index e7324f3ea34106795773fea1fdc79880aaf6756f..6e1a434fbe413a3606c997b07ea1a59bab20efc7 100644 (file)
@@ -21,7 +21,9 @@ class Fluidbook_View_Helper_QuoteForm extends CubeIT_View_Helper_Abstract
 
         $res = '<div class="text col-2">';
         $res .= $this->title($this->option('quote_heading'), 'h2');
-        $res .= $this->markupDotclear($this->option('quote_description'));
+        if(!strstr(SITE_URL, "elearning")) {
+            $res .= $this->markupDotclear($this->option('quote_description'));
+        }
         if ($contact) {
             $res .= '<div style="padding: 40px 0 0 0">' . $this->contactDetails() . '</div>';
         }
index dd5d83afab03eb9f3ba27f61fb4e2580ed26fa0b..f331147b3dc67522adb9d260b5ab63bc4ec6ae2b 100644 (file)
   .border-button-fill(@color-text, @color-text, 5%);\r
   .longarrow-button(12px, 40px, 18px);\r
   margin-top: 2em;\r
-  .background-button-green-special();\r
+  .background-button-green();\r
 \r
   &:hover {\r
     color: @color-text;\r
   }\r
 }\r
 \r
-.elearning &[data-header-theme="light"] .intro-button {\r
-  .background-button-pink();\r
+.elearning {\r
+  .intro-button {\r
+    .background-button-green();\r
+  }\r
+  &[data-header-theme="light"] .intro-button {\r
+    .background-button-pink();\r
+  }\r
 }\r