aboutsummaryrefslogtreecommitdiffstats
path: root/templates/results_entities.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/results_entities.html')
-rw-r--r--templates/results_entities.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/results_entities.html b/templates/results_entities.html
index 8465a9c..3f08edf 100644
--- a/templates/results_entities.html
+++ b/templates/results_entities.html
@@ -88,8 +88,13 @@
<tr>
<td style="width:20%">Název:</td>
<td style="width:40%"><b>{{ row.nazev }}</b></td>
+ {% if row.ico != 0 %}
<td style="width:15%">IČO:</td>
<td style="width:25%"><a href="/{{ row.ico }}"><b>{{ row.ico }}</b></a></td>
+ {% else %}
+ <td style="width:15%">Zahraniční reg. č.:</td>
+ <td style="width:25%"><b>{{ row.reg_cislo }}</b></td>
+ {% endif %}
</tr>
<tr>