]> git.parisson.com Git - pdfannotator.git/commitdiff
versioning css and js links
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 2 Jul 2025 12:20:02 +0000 (14:20 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 2 Jul 2025 14:02:15 +0000 (16:02 +0200)
pdfannotator/templates/pdfannotator/pdfannotator.html

index 28275106328bbe38157816c44787741415ba1bd6..eb77b73fbc70fe27356f84606f788586ebd6c3fc 100644 (file)
@@ -1,5 +1,5 @@
 {% load static %}
-
+{% load teleforma_tags %}
 
 <div class="toolbar">
     {% if not readonly %}
@@ -57,9 +57,9 @@
         </div>
     </div>
 </div>
-<script src="{% static "pdfannotator/pdf.js" %}"></script>
-<script src="{% static "pdfannotator/pdf_viewer.js" %}"></script>
-<script src="{% static "pdfannotator/pdf-annotate.min.js" %}"></script>
+<script src="{% static "pdfannotator/pdf.js?v={% teleforma_version %}" %}"></script>
+<script src="{% static "pdfannotator/pdf_viewer.js?v={% teleforma_version %}" %}"></script>
+<script src="{% static "pdfannotator/pdf-annotate.min.js?v={% teleforma_version %}" %}"></script>
 {#<script type="text/javascript" src="http://ellington.pilotsystems.net:3000/app.js">#}
 
 </script>
\ No newline at end of file