Change map
[wolnelektury.git] / src / catalogue / templates / catalogue / book_text.html
index e06f0f2..a35738f 100644 (file)
       <a id="reference-close" href="#">x</a>
       <div id="reference-images">
       </div>
-      <a id="reference-link" target="_blank"></a>
+      <div style="display: flex;">
+        <a id="reference-link" target="_blank"></a>
+        <a id="reference-print" target="_blank" style="font-size: 1.5em; padding: 8px;">🖨️</a>
+      </div>
     </div>
 
     <div id="annotation-box"
        {% for ref in book.references %}
        {% if ref.entity.is_interesting %}
        "{{ ref.entity.uri }}": {
+           "id": {{ ref.entity.id }},
            {% if ref.entity.lat and ref.entity.lon %}
            "location": [{{ ref.entity.lat }}, {{ ref.entity.lon }}],
            {% endif %}