Sfoglia il codice sorgente

ouverture pdf ressource

ouidade 2 anni fa
parent
commit
f6e7464f8c

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

@@ -29,7 +29,7 @@
               <div class="feature ">
 
                   {% if rapport.couverture and rapport.pdf %}
-                  <a href="{{page.media[rapport.pdf].url|e }}" download >
+                  <a href="{{page.media[rapport.pdf].url|e }}" target="_blank" >
                     <img src="{{page.media[rapport.couverture].url|e }}" alt="couverture du {{rapport.titre_du_rapport}}" />
                     {% endif %}
                     {% if rapport.titre_du_rapport %}