aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/extract-actual.html2
-rw-r--r--templates/extract.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/extract-actual.html b/templates/extract-actual.html
index 691dae3..9a82bff 100644
--- a/templates/extract-actual.html
+++ b/templates/extract-actual.html
@@ -499,7 +499,7 @@
{% for i in range (ubo_notes|length) %}
<tr>
<td></td>
- <td>{{ubo_notes[i].jmeno }} {{ubo_notes[i].jmeno.adresa }}
+ <td>{{ubo_notes[i].jmeno }}{% if ubo_notes[i].jmeno.adresa|length > 0 %}, {{ubo_notes[i].jmeno.adresa }} {% endif %}
{% if ubo_notes[i].postaveni != "0" %}<br>{{ ubo_notes[i].postaveni }}{% endif %}
{% if ubo_notes[i].koncovyPrijemceText != "0" %}<br>{{ ubo_notes[i].koncovyPrijemceText }}{% endif %}
</td>
diff --git a/templates/extract.html b/templates/extract.html
index 9eb1985..b3015d0 100644
--- a/templates/extract.html
+++ b/templates/extract.html
@@ -606,7 +606,7 @@
{% set underlne_style_open = "" %}
{% set underlne_style_close = "" %}
{% endif %}
- <td>{{ underlne_style_open|safe }} {{row.ubo[i].jmeno }} {{row.ubo[i].jmeno.adresa}}
+ <td>{{ underlne_style_open|safe }} {{row.ubo[i].jmeno }}{% if row.ubo[i].jmeno.adresa|length > 0 %}, {{row.ubo[i].jmeno.adresa }} {% endif %}
{% if row.ubo[i].postaveni != "0" %}<br>{{row.ubo[i].postaveni }}{% endif %}
{% if row.ubo[i].koncovyPrijemceText != "0" %}<br>{{row.ubo[i].koncovyPrijemceText }}{% endif %} {{ underlne_style_close|safe }}</td>
<td>{{ underlne_style_open|safe }} Zapsáno: {{ row.ubo[i].zapis_datum }} {% if row.ubo[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.ubo[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }}</td>