浏览代码

ouverture pdf dans new onglet

ouidade 3 年之前
父节点
当前提交
68b5a93be9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      user/themes/epau-antimatter/templates/modular/showcase.html.twig

+ 1 - 1
user/themes/epau-antimatter/templates/modular/showcase.html.twig

@@ -13,7 +13,7 @@
                 <a class="bouton {% if button.primary %} primary{% endif %}" href="{{ button.url }}" target="_blank">{{ button.text }}>
                 {% endif %}
                 {% if button.pdf %}
-                <a class="bouton {% if button.primary %} primary{% endif %}" href="{{page.media[button.pdf].url|e }}" download >{{ button.text }}>
+                <a class="bouton {% if button.primary %} primary{% endif %}" href="{{page.media[button.pdf].url|e }}" target="_blank">{{ button.text }}>
                 {% endif %}
                     
             {% endfor %}