Browse Source

Merge branch 'hotfix/V8-5271-corrections-diverses'

Olivier Massot 2 năm trước cách đây
mục cha
commit
a44c9e54df

+ 9 - 0
ot_templating/Configuration/Icons.php

@@ -0,0 +1,9 @@
+<?php
+
+declare(strict_types=1);
+
+return [
+    'opentalent-icon-144' => [
+        'source' => 'EXT:ot_templating/Resources/Public/Icons/opentalent-144x144.png',
+    ],
+];

+ 2 - 2
ot_templating/Resources/Private/Templates/Content/Carousel.html

@@ -18,12 +18,12 @@
                    extensionName="OtTemplating"
         >
             <flux:form.option.group value="ot_widgets" />
-            <flux:form.option.icon value="EXT:ot_templating/Resources/Public/Icons/opentalent-144x144.png" />
+            <flux:form.option.icon value="opentalent-icon-144" />
 
             <flux:field.input name="width" eval="trim" default="600" label="LLL:EXT:ot_templating/Resources/Private/Language/locallang.xlf:width_in_pixels"/>
             <flux:field.input name="height" eval="trim" default="400" label="LLL:EXT:ot_templating/Resources/Private/Language/locallang.xlf:height_in_pixels"/>
 
-            <flux:field.inline.fal name="images" minItems="2" maxItems="24"/>
+            <flux:field.inline.fal name="images" maxItems="24"/>
 
         </flux:form>
     </f:section>

+ 1 - 1
ot_templating/Resources/Private/Templates/Content/FCE50-50.html

@@ -12,7 +12,7 @@
                extensionName="OtTemplating"
     >
         <flux:form.option.group value="ot_widgets" />
-        <flux:form.option.icon value="EXT:ot_templating/Resources/Public/Icons/opentalent-144x144.png" />
+        <flux:form.option.icon value="opentalent-icon-144" />
     </flux:form>
     <flux:grid>
         <flux:grid.row>

+ 1 - 1
ot_templating/Resources/Private/Templates/Content/Faq.html

@@ -17,7 +17,7 @@
                    extensionName="OtTemplating"
         >
             <flux:form.option.group value="ot_widgets" />
-            <flux:form.option.icon value="EXT:ot_templating/Resources/Public/Icons/opentalent-144x144.png" />
+            <flux:form.option.icon value="opentalent-icon-144" />
 
             <flux:form.section name="faq">
                 <flux:form.object name="item" label="LLL:EXT:ot_templating/Resources/Private/Language/locallang.xlf:question">

+ 1 - 1
ot_templating/Resources/Private/Templates/Content/ShareBar.html

@@ -13,7 +13,7 @@
              extensionName="OtTemplating"
   >
     <flux:form.option.group value="ot_widgets" />
-    <flux:form.option.icon value="EXT:ot_templating/Resources/Public/Icons/opentalent-144x144.png" />
+    <flux:form.option.icon value="opentalent-icon-144" />
   </flux:form>
 </f:section>
 

+ 18 - 0
ot_templating/Resources/Private/Templates/Page/Blank.html

@@ -0,0 +1,18 @@
+{namespace flux=FluidTYPO3\Flux\ViewHelpers}
+{namespace ot=Opentalent\OtTemplating\ViewHelpers}
+
+<f:comment><!-- blank layout, used for the Home shortcuts pages --></f:comment>
+<f:layout name="{ot:template.current()}/Blank" />
+
+<f:section name='Configuration'>
+    <flux:form id="contact" label="LLL:template_blank" extensionName="Opentalent.OtTemplating">
+    </flux:form>
+
+    <!-- Backend layout grid -->
+    <flux:grid>
+        <flux:grid.row>
+        </flux:grid.row>
+    </flux:grid>
+
+</f:section>
+

+ 5 - 3
ot_templating/Resources/Public/assets/Modern/style/custom.css

@@ -279,11 +279,13 @@
         flex: 1;
         display: flex;
         flex-direction: column;
-        justify-content: flex-start;
+        justify-content: center;
     }
 
-    .events .card .p4 {
-        height: 100%;
+    .events .card .p-4 {
+        flex-direction: column;
+        justify-content: flex-start;
+        height: max-content;
     }
 
     .events .card img {