ソースを参照

Merge branch 'hotfix/add_publication_directors'

Olivier Massot 4 年 前
コミット
3ab6ecfc88

+ 3 - 0
ot_templating/Resources/Private/Language/locallang.xlf

@@ -84,6 +84,9 @@
 			<trans-unit id="capitalized-llc">
 				<source>SARL au capital de</source>
 			</trans-unit>
+			<trans-unit id="see-ot-legal-mentions-here">
+				<source>Consulter les mentions légales de la société 2iOpenService</source>
+			</trans-unit>
 			<trans-unit id="contact-us">
 				<source>Contactez-nous</source>
 			</trans-unit>

+ 5 - 0
ot_templating/Resources/Private/Layouts/Classic/Legal.html

@@ -71,6 +71,11 @@
                     <div>SIRET n° 504 653 122 000 52 | <f:translate key="vat"/> n° FR62504653122</div>
                     <div><f:translate key="offices"/> : 217, Rue Raoul Follereau - 74300 Cluses</div>
                     <div><f:translate key="phone"/> : 09 72 12 60 17</div>
+                    <div>
+                        <a href="https://www.opentalent.fr/politique/" target="_blank">
+                            <f:translate key="see-ot-legal-mentions-here"/>
+                        </a>
+                    </div>
                 </div>
             </section>
         </div>

+ 5 - 1
ot_templating/Resources/Private/Layouts/Modern/Legal.html

@@ -24,7 +24,6 @@
                                 </p>
 
                                 <ot:organizations.getById as="organization" organizationId="{settings.organizationId}">
-                                    <f:debug>{organization}</f:debug>
                                     <f:if condition="{organization.publicationDirectors}">
                                         <p>
                                             <f:translate key="director-of-publication"/>: {organization.publicationDirectors}
@@ -75,6 +74,11 @@
                                     <div>SIRET n° 504 653 122 000 52 | <f:translate key="vat"/> n° FR62504653122</div>
                                     <div><f:translate key="offices"/> : 217, Rue Raoul Follereau - 74300 Cluses</div>
                                     <div><f:translate key="phone"/> : 09 72 12 60 17</div>
+                                    <div>
+                                        <a href="https://www.opentalent.fr/politique/" target="_blank">
+                                            <f:translate key="see-ot-legal-mentions-here"/>
+                                        </a>
+                                    </div>
                                 </div>
                             </section>
                         </div>