diff --git a/templates/variants/metz-metropole-2019/combo/link-cell.html b/templates/variants/metz-metropole-2019/combo/link-cell.html index 8b548e18..25c16dbf 100644 --- a/templates/variants/metz-metropole-2019/combo/link-cell.html +++ b/templates/variants/metz-metropole-2019/combo/link-cell.html @@ -2,7 +2,7 @@ {% get_asset cell=cell type='picture' as asset %} {% if asset.asset.url %} + {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
{{ title }} {% if cell.link_page.description %}

{{ cell.link_page.description }}

{% endif %} @@ -10,7 +10,7 @@
{% elif cell.link_page and cell.link_page.picture %} + {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
{{ title }}

{{ cell.link_page.description }}

@@ -19,6 +19,6 @@ {% else %}
{% endif %} diff --git a/templates/variants/metz-metropole-2019/combo/wcs/form.html b/templates/variants/metz-metropole-2019/combo/wcs/form.html index 74008060..53dd5cf5 100644 --- a/templates/variants/metz-metropole-2019/combo/wcs/form.html +++ b/templates/variants/metz-metropole-2019/combo/wcs/form.html @@ -4,7 +4,7 @@ {% if "image" in cell.extra_css_class %} {% get_asset "wcs:form:logo:"|add:cell.formdef_reference as asset %} + {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
{{ title }}