aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-02 21:19:07 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-02 21:19:07 +0200
commita463c1dc7a5b7c0e8f9d2ac8f3f3662b926ec3b1 (patch)
treeaacf286ae5eb07d7cc556dda36416ff270767102 /templates
parent22d2d40fadcf2d3a08f29730eeb153679eab500d (diff)
downloadjustice-a463c1dc7a5b7c0e8f9d2ac8f3f3662b926ec3b1.tar.gz
added search by foreign entity number
Diffstat (limited to 'templates')
-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>