summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2014-10-15 12:41:35 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2014-10-15 12:41:35 (GMT)
commit5f93ba798b7cfe399828a65f0537f7327f7227fb (patch)
tree40aaf2098502ed5558d1f401a5747baa391d14ce
parent5fdc3d8d859b9dd4c0c1c0342919b4ea2d20c080 (diff)
downloadfacturier-5f93ba798b7cfe399828a65f0537f7327f7227fb.zip
facturier-5f93ba798b7cfe399828a65f0537f7327f7227fb.tar.gz
facturier-5f93ba798b7cfe399828a65f0537f7327f7227fb.tar.bz2
adding blank target in order to avoid browsers having adobe reader plugin to
show the file
-rw-r--r--facturier/templates/facturier/tipi.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/facturier/templates/facturier/tipi.html b/facturier/templates/facturier/tipi.html
index 792efec..4404ccf 100644
--- a/facturier/templates/facturier/tipi.html
+++ b/facturier/templates/facturier/tipi.html
@@ -73,6 +73,7 @@
<a href="{{ invoice.download_url }}#{{invoice.id}}.pdf"
title="facture_{{ invoice.id }}.pdf"
download="facture_{{ invoice.id }}.pdf"
+ target="_blank"
class="download">Télécharger la version PDF complète de la facture</a>
{% else %}
{% if user.is_authenticated %}