# 86 HTML simplification
* simplifies rendering of detail attributes for CompensationState and CompensationAction -> takes up less space
This commit is contained in:
parent
874b266352
commit
f224bbb5bd
@ -49,11 +49,9 @@
|
|||||||
<td class="">
|
<td class="">
|
||||||
<span>{{ action.action_type }}</span>
|
<span>{{ action.action_type }}</span>
|
||||||
{% if action.action_type_details.count > 0 %}
|
{% if action.action_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Action type details' %}:</span>
|
|
||||||
{% for detail in action.action_type_details.all %}
|
{% for detail in action.action_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -50,11 +50,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -50,11 +50,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -48,11 +48,9 @@
|
|||||||
<td class="">
|
<td class="">
|
||||||
<span>{{ action.action_type }}</span>
|
<span>{{ action.action_type }}</span>
|
||||||
{% if action.action_type_details.count > 0 %}
|
{% if action.action_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Action type details' %}:</span>
|
|
||||||
{% for detail in action.action_type_details.all %}
|
{% for detail in action.action_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -50,11 +50,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -50,11 +50,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -46,11 +46,9 @@
|
|||||||
<td class="">
|
<td class="">
|
||||||
<span>{{ action.action_type }}</span>
|
<span>{{ action.action_type }}</span>
|
||||||
{% if action.action_type_details.count > 0 %}
|
{% if action.action_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Action type details' %}:</span>
|
|
||||||
{% for detail in action.action_type_details.all %}
|
{% for detail in action.action_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -48,11 +48,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -48,11 +48,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<span>{{ state.biotope_type }}</span>
|
<span>{{ state.biotope_type }}</span>
|
||||||
{% if state.biotope_type_details.count > 0 %}
|
{% if state.biotope_type_details.count > 0 %}
|
||||||
<hr>
|
<br>
|
||||||
<span>{% trans 'Biotope additional type' %}:</span>
|
|
||||||
{% for detail in state.biotope_type_details.all %}
|
{% for detail in state.biotope_type_details.all %}
|
||||||
<br>
|
<span class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</span>
|
||||||
<div class="badge badge-pill rlp-r" title="{{detail}}">{{detail.long_name}}</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user