aboutsummaryrefslogtreecommitdiffstats
path: root/templates/extract-actual.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-02-13 22:55:29 +0100
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-02-13 22:55:29 +0100
commit7d2b2df59abf9347d11da27e617660dea5480f9a (patch)
treef3f5fb4554f07894dd9ba67ccbdde8d60ee92a77 /templates/extract-actual.html
parent2de398f2c7f3f608c2a94eaf02921547a7978e13 (diff)
downloadjustice-7d2b2df59abf9347d11da27e617660dea5480f9a.tar.gz
updated method for displaying shares
Diffstat (limited to 'templates/extract-actual.html')
-rw-r--r--templates/extract-actual.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/extract-actual.html b/templates/extract-actual.html
index 91b2469..f42a9b8 100644
--- a/templates/extract-actual.html
+++ b/templates/extract-actual.html
@@ -28,6 +28,14 @@
{% endif %}
{% endfor %}
+{% set ostatni_skutecnosti_notes = [] %}
+{% for i in range (row.ostatni_skutecnosti|length) %}
+ {% if row.ostatni_skutecnosti[i].vymaz_datum == 0 %}
+ {% set ostatni_skutecnosti_notes = ostatni_skutecnosti_notes.append(row.ostatni_skutecnosti[i]) %}
+ {% endif %}
+{% endfor %}
+
+
{% set zapis_split = row.zapis.split("-") %}
{% if zapis_split[1] == "01" %}
{% set mesic = "ledna" %}
@@ -197,6 +205,22 @@
</tr>
{% endfor %}
{% endif %}
+
+ {% if ostatni_skutecnosti_notes|length > 0 %}
+ <tr>
+ <td>Ostatní skutečnosti:</td>
+ <td>{{ ostatni_skutecnosti_notes[0].ostatni_skutecnost }}</td>
+ <td></td>
+ </tr>
+ {% for i in range (1, ostatni_skutecnosti_notes|length) %}
+ <tr>
+ <td></td>
+ <td>{{ ostatni_skutecnosti_notes[i].ostatni_skutecnost }}</td>
+ <td></td>
+ </tr>
+ {% endfor %}
+ {% endif %}
+
</table>
{% endfor %}