-
{{ file_name }}
+ {% if message['files'][file_name][0]['type'] == 'pdf' %}
+
{{ file_name }}
+ {% else %}
+
{{ file_name }}
+ {% endif %}
{% if message['files'][file_name][0]['tags'] %}
{% for tag in message['files'][file_name][0]['tags'] %}
diff --git a/var/www/templates/chats_explorer/block_translation_post.html b/var/www/templates/chats_explorer/block_translation_post.html
new file mode 100644
index 000000000..567784a4a
--- /dev/null
+++ b/var/www/templates/chats_explorer/block_translation_post.html
@@ -0,0 +1,81 @@
+
+
+
+ {% if translated %}
+
+
+ {% if translated['translated'] %}
+
Translated:
+ {% for target in translated['translated'] %}
+
+
+
+
+
+ {% endfor %}
+ {% endif %}
+ {% if translated['task'] %}
+
Translation Progress:
+
+ {% for task_uuid in translated['task'] %}
+
+ {{ translated['task'][task_uuid]['target'] }}
+
+ {{ translated['task'][task_uuid]['progress'] }} %
+
+
+
+
+
+ {% endfor %}
+
+ {% endif %}
+
+ {% endif %}
+
+
\ No newline at end of file
diff --git a/var/www/templates/correlation/show_correlation.html b/var/www/templates/correlation/show_correlation.html
index b7482141f..2dd8dd77f 100644
--- a/var/www/templates/correlation/show_correlation.html
+++ b/var/www/templates/correlation/show_correlation.html
@@ -136,6 +136,10 @@
{% include 'objects/ocr/card_ocr.html' %}
{% elif dict_object["object_type"] == "barcode" %}
{% include 'objects/barcode/card_barcode.html' %}
+ {% elif dict_object["object_type"] == "pdf" %}
+ {% include 'objects/pdf/card_pdf.html' %}
+ {% elif dict_object["object_type"] == "author" %}
+ {% include 'objects/author/card_author.html' %}
{% elif dict_object["object_type"] == "qrcode" %}
{% include 'objects/qrcode/card_qrcode.html' %}
{% elif dict_object["object_type"] == "item" %}
@@ -248,15 +252,28 @@
Hidden objects:
- - Select Correlation
+ -
+ Select Correlation:
+
+
+
+
+
+
+
+
+