#112 WIP: Restructure CompensationAction
* changes action_type from ForeignKey into M2M * adds migration * changes form widget * WIP: changes rendering on detail view of compensation * TEST NOT CHECKED YET!
This commit is contained in:
@@ -47,7 +47,11 @@
|
||||
{% for action in actions %}
|
||||
<tr>
|
||||
<td class="">
|
||||
<span>{{ action.action_type }}</span>
|
||||
<ul>
|
||||
{% for type in action.action_type.all %}
|
||||
<li> {{type}} </li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if action.action_type_details.count > 0 %}
|
||||
<br>
|
||||
{% for detail in action.action_type_details.all %}
|
||||
|
||||
@@ -46,7 +46,11 @@
|
||||
{% for action in actions %}
|
||||
<tr>
|
||||
<td class="">
|
||||
<span>{{ action.action_type }}</span>
|
||||
<ul>
|
||||
{% for type in action.action_type.all%}
|
||||
<li> {{type.long_name}} </li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if action.action_type_details.count > 0 %}
|
||||
<br>
|
||||
{% for detail in action.action_type_details.all %}
|
||||
|
||||
Reference in New Issue
Block a user