Fixing custom attributes notifications on name change
parent
7302af8eb7
commit
7beff9cab7
|
@ -184,21 +184,23 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if values.changed %}
|
{% if values.changed %}
|
||||||
{% for attr in values['changed'] %}
|
{% for attr in values['changed'] %}
|
||||||
<tr>
|
{% if attr.changes.value%}
|
||||||
<td valign="middle" rowspan="2" class="update-row-name">
|
<tr>
|
||||||
<h3>{{ attr.name }}</h3>
|
<td valign="middle" rowspan="2" class="update-row-name">
|
||||||
</td>
|
<h3>{{ attr.name }}</h3>
|
||||||
<td valign="top" class="update-row-from">
|
</td>
|
||||||
<span>{{ _("from") }}</span><br>
|
<td valign="top" class="update-row-from">
|
||||||
<strong>{{ attr.changes.value.0|linebreaksbr }}</strong>
|
<span>{{ _("from") }}</span><br>
|
||||||
</td>
|
<strong>{{ attr.changes.value.0|linebreaksbr }}</strong>
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td valign="top">
|
<tr>
|
||||||
<span>{{ _("to") }}</span><br>
|
<td valign="top">
|
||||||
<strong>{{ attr.changes.value.1|linebreaksbr }}</strong>
|
<span>{{ _("to") }}</span><br>
|
||||||
</td>
|
<strong>{{ attr.changes.value.1|linebreaksbr }}</strong>
|
||||||
</tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if values.deleted %}
|
{% if values.deleted %}
|
||||||
|
|
Loading…
Reference in New Issue