kevin tessier преди 5 години
родител
ревизия
1b563d3d47

+ 6 - 2
user/themes/lecampus/templates/partials/bandeau.html.twig

@@ -6,7 +6,7 @@
           <div class="title_gal">
             <p>{{ feature.text }}</p>
           </div>
-          <img src="user/pages/01.home/{{gal}}" alt="{{gal}}">
+          <img src="user/pages/01.home/{{gal}}" alt="{{ feature.text }}">
         </div>
     {% endfor %}
   </div>
@@ -14,6 +14,7 @@
   {% if header.entete.text == true %}
     <div class="entete">
       <div class="entete_c">
+        <h1>{{page.title}}</h1>
         <p>{{ header.entete.text }}</p>
       </div>
     </div>
@@ -25,7 +26,10 @@
     {% if image %}
     <div class="bandeau">
       <div class="img">
-      {{ image.html('','bandeau') }}
+        {% if header.txtimg.text == true %}
+          {{ image.html('',header.txtimg.text) }}
+        {% endif %}
+        {{ image.html('',page.title) }}
     </div>
       {% if header.txtimg.text %}
       <div class="title_gal">

+ 3 - 3
user/themes/lecampus/templates/partials/blog-item.html.twig

@@ -11,7 +11,7 @@
   <div class="content">
     <div class="images_s">
       {% for images in page.media.images|slice(1) %}
-        {{images.html('','img_content')}}
+        {{images.html('', page.title )}}
       {% endfor %}
     </div>
     <div class="content_s">
@@ -22,7 +22,7 @@
       {% for features in page.header.features %}
         <div class="icon">
           {% for img in features.icon %}
-            <img src="/{{img.path}}" alt="picto">
+            <img src="/{{img.path}}" alt="{{features.text}}">
           {% endfor %}
           <p>{{features.text}}</p>
         </div>
@@ -37,7 +37,7 @@
       {% if page.media.images|slice(1) %}
         <div class="images_s">
           {% for images in page.media.images|slice(1) %}
-            {{images.html('','img_content')}}
+            {{images.html('', page.title)}}
           {% endfor %}
         </div>
       {% endif %}

+ 1 - 1
user/themes/lecampus/templates/sublog.html.twig

@@ -1205,7 +1205,7 @@
             {% if image %}
             <div class="gal-salles">
               {% for img in child_image %}
-                {{img}}
+                {{img.html('',item.title)}}
               {% endfor %}
                 <a href="#" class="slidesjs-previous slidesjs-navigation"><i class="icon-chevron-left"></i></a>
                 <a href="#" class="slidesjs-next slidesjs-navigation"><i class="icon-chevron-right"></i></a>