Selaa lähdekoodia

add display_invite

kevin 3 vuotta sitten
vanhempi
commit
7707f7f2c2

+ 2 - 2
web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--programme.html.twig

@@ -34,7 +34,7 @@
 
 {# {% include 'themes/custom/popsu_colloque/template/components/thumbnails.html.twig' %} #}
 
-{% if fields.field_accessible.content == "1" %}
+{% if fields.field_accessible.content == "1"  %}
   <a href="{{fields.view_node.content}}">
 {% endif %}
 
@@ -58,7 +58,7 @@
 
   <div class="__content {{fields.field_accessible.content}}">
     {{fields.title.content}}
-    {% if fields.field_accessible.content == "1" %}
+    {% if fields.field_display_invite.content != "1" %}
       {% else %}
         {{fields.field_role_de_l_intervenant.content}}
     {% endif %}

+ 1 - 1
web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme.html.twig

@@ -54,7 +54,7 @@
 
     <div class="__content {{fields.field_accessible.content}}">
       {{fields.title.content}}
-      {% if fields.field_accessible.content == "1" %}
+      {% if fields.field_display_invite.content != "1" %}
         {% else %}
           {{fields.field_role_de_l_intervenant.content}}
       {% endif %}

+ 1 - 1
web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme_node_intervenant.html.twig

@@ -54,7 +54,7 @@
 
     <div class="__content {{fields.field_accessible.content}}">
       {{fields.title.content}}
-      {% if fields.field_accessible.content == "1" %}
+      {% if fields.field_display_invite.content != "1" %}
         {% else %}
           {{fields.field_role_de_l_intervenant.content}}
       {% endif %}