Browse Source

restore custom BE contents icons

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

+ 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',
+    ],
+];

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

@@ -18,7 +18,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: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"/>

+ 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>