Forráskód Böngészése

update emails footer

Olivier Massot 5 hónapja
szülő
commit
3eb55a5180
1 módosított fájl, 36 hozzáadás és 42 törlés
  1. 36 42
      templates/emails/base.html.twig

+ 36 - 42
templates/emails/base.html.twig

@@ -25,6 +25,19 @@
             color: #FFFFFF;
             font-weight: bold;
         }
+        .footer-white{
+            padding: 10px;
+            color: #000000;
+        }
+        .as{
+            margin-bottom: 10px;
+        }
+        .center{
+            text-align: center;
+        }
+        .social_link{
+            margin: 0 5px;
+        }
         {% endblock %}
     </style>
 
@@ -48,51 +61,32 @@
         </row>
 
         {% block antispam %}
-            <row>
-                <columns small="12">
-                    <p>
-                        <small class="black">
-                            Cet e-mail a été envoyé automatiquement à
-                            #__#ANTISPAM_PERSON_EMAIL#__#
-                            par le logiciel Opentalent utilisé par votre structure.
-                            Merci de ne pas y répondre.
-                        </small>
-                    </p>
-                </columns>
-            </row>
+            <div class="as">
+                <p style="font-size:12px">
+                    Cet e-mail a été envoyé automatiquement à&nbsp;#__#ANTISPAM_PERSON_EMAIL#__# par le logiciel Opentalent utilisé par votre structure.
+                    <br />Merci de ne pas y répondre.
+                </p>
+            </div>
         {% endblock %}
 
-        {% block footer %}
-            <row>
-                <columns small="12" class="footer">
-                    <center>
-                        <menu>
-                            <small>
-                                <item href="https://support.opentalent.fr" class="white">Aide du logiciel</item>
-                                -
-                                <item href="https://www.opentalent.fr/login" class="white">Se connecter au logiciel</item>
-                            </small>
-                        </menu>
-                    </center>
-                </columns>
-            </row>
-        {% endblock %}
-
-        {% block footer_signature %}
+        <div class="footer center">
+            {% block footer %}
+                <a href="https://support.opentalent.fr" target="_blank">Aide du logiciel</a>   - <a href="https://www.opentalent.fr/login" target="_blank">Se connecter au logiciel</a>
+            {% endblock %}
+        </div>
 
-            <row>
-                <columns small="12">
-                    <spacer size="10"></spacer>
-                    <p class="text-center">
-                        <small class="black">
-                            &copy; Opentalent - {{ "now"|date("Y") }} - La plateforme culturelle : agenda culturel et logiciels pour les structures culturelles -
-                            <a href="https://www.opentalent.fr/agenda">www.opentalent.fr/agenda</a>
-                        </small>
-                    </p>
-                </columns>
-            </row>
-
-        {% endblock %}
+        <div class="footer-white center">
+            {% block footer_signature %}
+                © Opentalent - {{ 'now' | date('Y') }}
+                : Agenda et Logiciels pour les acteurs culturels - <a href="https://www.opentalent.fr" target="_blank">opentalent.fr</a>
+                <br />
+                <br />
+                <h3>Suivez-nous :</h3>
+                <a href="https://www.facebook.com/opentalent" target="_blank" class="social_link"><img src="{{ asset('bundles/app/images/facebook.jpg') }}" width="30px"/></a>
+                <a href="https://www.linkedin.com/company/opentalent-agenda-et-logiciels-culturels" target="_blank" class="social_link"><img src="{{ asset('bundles/app/images/linkedin.jpg') }}" width="30px"/></a>
+                <a href="https://www.youtube.com/@Opentalent74300" target="_blank" class="social_link"><img src="{{ asset('bundles/app/images/youtube.jpg') }}" width="30px"/></a>
+            {% endblock %}
+        </div>
 
     </container>