#88 Action/Biotope API extension

* extends the API to support serializing and deserializing of action_details and biotope_details
* renames biotope_extra_types into biotope_type_details on CompensationState model for convenience reasons and to match CompensationAction's action_type_details
This commit is contained in:
2022-01-31 14:01:02 +01:00
parent 73cf3fc503
commit f6304d0b33
9 changed files with 35 additions and 20 deletions

View File

@@ -50,7 +50,7 @@
{{ state.biotope_type }}
</td>
<td class="align-middle">
{% for biotope_extra in state.biotope_extra_types.all %}
{% for biotope_extra in state.biotope_type_details.all %}
<div class="mb-2" title="{{ biotope_extra }}">
{{ biotope_extra.long_name }}
</div>

View File

@@ -50,7 +50,7 @@
{{ state.biotope_type }}
</td>
<td class="align-middle">
{% for biotope_extra in state.biotope_extra_types.all %}
{% for biotope_extra in state.biotope_type_details.all %}
<div class="mb-2" title="{{ biotope_extra }}">
{{ biotope_extra.long_name }}
</div>