Olivier Massot 3 anni fa
parent
commit
98d7277a0c
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      templates/export/licence_cmf.html.twig

+ 4 - 4
templates/export/licence_cmf.html.twig

@@ -180,7 +180,7 @@
                                 </td>
                                 <td width="340">
                                     <div align="right">
-                                        <img src="{{ "#{APP_PUBLIC_DIR}/images/cmf-reseau.png" }}"
+                                        <img src="{{ absPath('images/cmf-reseau.png') }}"
                                                 width="200" height="86"/>
                                     </div>
                                 </td>
@@ -237,7 +237,7 @@
                             <td width="80" id="avatar">
                                 <div align="center">
                                     {% if(licence.logo is null) %}
-                                        <img src="{{ "#{APP_PUBLIC_DIR}/images/picto_face.png" }}"
+                                        <img src="{{ absPath('images/picto_face.png') }}"
                                              width="85"
                                              height="82"/>
                                     {% else %}
@@ -261,7 +261,7 @@
                                 <div align="center">
                                     {% if(licence.personAvatar is null) %}
                                         <img
-                                                src="{{ "#{APP_PUBLIC_DIR}/images/picto_face.png" }}"
+                                                src="{{ absPath('images/picto_face.png') }}"
                                                 width="85"
                                                 height="82"/>
                                     {% else %}
@@ -286,7 +286,7 @@
                         <td width="70" valign="middle"
                             style="vertical-align: top;">
                             <div align="center">
-                                <img src="{{ "#{APP_PUBLIC_DIR}/images/cmf_licence.png" }}"
+                                <img src="{{ absPath('images/cmf_licence.png') }}"
                                      height="45"/>
                                 <span id="year_card">{{ licence.year }}</span>
                             </div>