pdf-reader-embed.html.twig in PDF Reader 8
<div class = 'pdf-reader'>
{% if download_link and top %}
<div class ="download-pdf link-pdf">
<a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
</div>
{% endif %}
<div class = "pdf-reader-{{ service }}">
<object id="pdf_reader" data= "{{file_url}}" type = "application/pdf" width= "{{width}}" height= "{{height}}">
<embed src="{{file_url}}" width= "{{width}} " height= "{{height}}" type="application/pdf"><p> {{file_name}} </p>
</embed>
</object>
</div>
{% if download_link and bottom %}
<div class ="download-pdf link-pdf">
<a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
</div>
{% endif %}
</div>
File
templates/pdf-reader-embed.html.twig
View source
- <div class = 'pdf-reader'>
- {% if download_link and top %}
- <div class ="download-pdf link-pdf">
- <a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
- </div>
- {% endif %}
- <div class = "pdf-reader-{{ service }}">
- <object id="pdf_reader" data= "{{file_url}}" type = "application/pdf" width= "{{width}}" height= "{{height}}">
- <embed src="{{file_url}}" width= "{{width}} " height= "{{height}}" type="application/pdf"><p> {{file_name}} </p>
- </embed>
- </object>
- </div>
- {% if download_link and bottom %}
- <div class ="download-pdf link-pdf">
- <a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
- </div>
- {% endif %}
- </div>
-
-
-
-
-
-