commit 84493595dec7eae52cd12e998a94a35974b4ab4f parent 2e2f7748670a5920db3c47b8a597a7ab238368a7 Author: Paco Esteban <paco@e1e0.net> Date: Thu, 19 Oct 2023 19:36:13 +0200 open datasheet and images on new tab Diffstat:
M | partsdb/exports/templates/part.html | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/partsdb/exports/templates/part.html b/partsdb/exports/templates/part.html @@ -49,13 +49,13 @@ <tr> <td colspan="3"> {% if part.datasheet != None %} - <a href="part_datasheet_{{ part.id }}.pdf">Datasheet</a> + <a href="part_datasheet_{{ part.id }}.pdf" target="_blank">Datasheet</a> {% else %} There is no datasheet for this part. {% endif %} || {% if part.image != None %} - <a href="part_image_{{ part.id }}.jpg">Image</a> + <a href="part_image_{{ part.id }}.jpg" target="_blank">Image</a> {% else %} There is no image for this part. {% endif %}