diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-20 23:33:11 +0100 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-20 23:33:11 +0100 |
commit | 30438ffcf11a349c3d0ec3e5b8a61ac690b88e03 (patch) | |
tree | e104057516ca6106790a0c13a2f072d1a4a65356 /templates | |
parent | b0176b943aa21db7c0dd8305fc19d2011c1a2d9f (diff) | |
download | justice-30438ffcf11a349c3d0ec3e5b8a61ac690b88e03.tar.gz |
various tweaks and updates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/extract.html | 2 | ||||
-rw-r--r-- | templates/results2.html | 30 |
2 files changed, 12 insertions, 20 deletions
diff --git a/templates/extract.html b/templates/extract.html index 512ac22..28a50a0 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -33,6 +33,8 @@ <p><a href="/">Zpět na vyhledání</a></p> +<p>Sidlo2: {{ row.sidlo_v2[0] }}</p> + <table class= "table" style="width: 100%"> <!-- Display registration date --> <tr> diff --git a/templates/results2.html b/templates/results2.html index 4f8bf73..4f22971 100644 --- a/templates/results2.html +++ b/templates/results2.html @@ -11,16 +11,10 @@ {% set insolvency_notes = insolvency_notes.append(row.insolvence[i].insolvency_event) %} {% endif %} {% endfor %} - - {% set soud = [] %} - {% set oddil = [] %} - {% set vlozka = [] %} - {% for i in range (row.soudni_zapis|length) %} - {% if row.soudni_zapis[i].vymaz_datum == 0 %} - {% set soud = soud.append(row.soudni_zapis[i].soud) %} - {% set oddil = oddil.append(row.soudni_zapis[i].oddil) %} - {% set vlozka = vlozka.append(row.soudni_zapis[i].vlozka) %} - {% endif %} + {% for i in range (row.konkurz|length) %} + {% if row.konkurz[i].vymaz_datum == 0 %} + {% set insolvency_notes = insolvency_notes.append(row.konkurz[i].konkurz_event) %} + {% endif %} {% endfor %} {% if insolvency_notes|length > 0 %} @@ -39,14 +33,8 @@ {% else %} {% set ico_buffer = "" %} - {% endif %} - - {% set sidlo = [] %} - {% for i in range (row.sidlo_text|length) %} - {% if row.sidlo_text[i].vymaz_datum == 0 %} - {% set sidlo = sidlo.append(row.sidlo_text[i].sidlo_text.adresa_text) %} - {% endif %} - {% endfor %} + {% endif %} + <table class= "{{table_style}}" style="width: 100%"> <p></p> @@ -58,13 +46,15 @@ </tr> <tr> <td>Spisová značka:</td> - <td>{{ oddil|join("") }} {{ vlozka|join("") }} vedená u {{ soud|join("") }}</td> + <!-- <td>{{ oddil|join("") }} {{ vlozka|join("") }} vedená u {{ soud|join("") }}</td> --> + <td>{{row.oddil}} {{row.vlozka}} vedená u {{row.soud}}</td> <td>Den zápisu:</td> <td>{{row.zapis}}</td> </tr> <tr> <td>Sídlo:</td> - <td>{{ sidlo|join("") }}</td> + <!-- <td>{{ sidlo|join("") }}</td> --> + <td>{{ row.sidlo }} {{ row.sidlo_v2 }} </td> <td><a href="/{{ row.ico }}">Úplný výpis</a></td> <td><a href="/{{ row.ico }}-actual">Aktuální výpis</a></td> </tr> |