agrandir zone lien
This commit is contained in:
@@ -93,14 +93,35 @@
|
||||
{% set node_title = node.label %}
|
||||
{% set node_url = (url is defined and url) ? url : path('entity.node.canonical', {'node': node.id}) %}
|
||||
|
||||
{% if node_title %}
|
||||
{# {% if node_title %}
|
||||
{{ title_prefix }}
|
||||
<h3{{ title_attributes }} class="node-projet-title">
|
||||
<a href="{{ node_url }}" rel="bookmark">{{ node_title }}</a>
|
||||
</h3>
|
||||
{{ title_suffix }}
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
{{ content }} #}
|
||||
|
||||
{% if node_title %}
|
||||
{{ title_prefix }}
|
||||
<a href="{{ node_url }}" rel="bookmark" class="node-projet-link">
|
||||
<h3{{ title_attributes.addClass('node-projet-title') }}>
|
||||
{{ node_title }}
|
||||
</h3>
|
||||
|
||||
{# Champ "Nom de l'équipe" inclus dans le lien #}
|
||||
{% if content.field_nom_de_l_equipe is defined %}
|
||||
{{ content.field_nom_de_l_equipe }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{{ title_suffix }}
|
||||
|
||||
{# On affiche le reste des champs, sans field_nom_de_l_equipe #}
|
||||
{{ content|without('field_nom_de_l_equipe') }}
|
||||
{% else %}
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user