Permalink
Browse files

pdf viewer now asking plugin on firefox

  • Loading branch information...
pierrejdlf committed Mar 30, 2012
1 parent 9a94c46 commit 4cbfa792f09117b5321834f3966d0e94d0bd5679
Showing with 3 additions and 1 deletion.
  1. +3 −1 templates/bq_ed_show.html
@@ -263,7 +263,9 @@ <h1>{{texte.name}}</h1>
<!-- ===================================================================================================================================== -->
{% if texte.doctype == 'PDF' %}
<object data="{% url reanalyse.reanalyseapp.views.servePdf texte.id %}" type="application/pdf" width="100%" height="100%">
- alt : <a href="{% url reanalyse.reanalyseapp.views.servePdf texte.id %}">{{texte.name}}</a>
+ <embed width="100%" height="100%" type="application/pdf" src="{% url reanalyse.reanalyseapp.views.servePdf texte.id %}">
+ <a href="{% url reanalyse.reanalyseapp.views.servePdf texte.id %}">{{texte.name}}</a>
+ </embed>
</object>
{% endif %}
<!-- ===================================================================================================================================== -->

0 comments on commit 4cbfa79

Please sign in to comment.