Compare commits

..

2 Commits

Author SHA1 Message Date
cdda43615a #262 Public report missing entry placeholder
* adds empty value rendering on public intervention report
2022-12-06 07:22:11 +01:00
52ee8690eb #257 Missing geometry message red
* changes message colour from blue to red (indicating 'blocking' message)
* only renders message on read_only form e.g. on detail view
2022-12-06 07:19:39 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -62,6 +62,8 @@
{{deduction.account.identifier}} - {{deduction.account.title}}
</a>
<br>
{% empty %}
{% trans 'None' %}
{% endfor %}
</td>
</tr>

View File

@ -4,9 +4,9 @@
Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views.
{% endcomment %}
{% if geom_form.empty %}
{% if geom_form.empty and geom_form.read_only %}
<div class="w-100">
<div class="alert alert-info">
<div class="alert alert-danger">
{% fa5_icon 'search-location' %}
{% trans 'No geometry added, yet.' %}
</div>