Skip to content
Snippets Groups Projects
Commit e89a412a authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

conditional filing area display

parent ec9d1cfb
No related branches found
No related tags found
No related merge requests found
Pipeline #12403 passed
......@@ -186,16 +186,18 @@
<td class="w-1/5 !p-2.5">Stav</td>
<td class="w-4/5 !p-2.5">{{ contract.get_paper_form_state_display }}</td>
</tr>
{% if contract.filing_area %}
<tr>
<td class="w-1/5 !p-2.5">Spisovna</td>
<td class="w-4/5 !pl-2.5 !py-1 !pr-1">
{% if contract.filing_area %}
<div class="flex gap-3 items-center">
{% include "contracts/includes/tag.html" with url=contract.filing_area.url icon="ico--drawer" content=contract.filing_area.name %}
</div>
{% else %}
<span class="text-grey-200">Žádná</span>
{% endif %}
</td>
</tr>
{% endif %}
</tbody>
</table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment