added translate filter for meta-fields in detail pages (#1655)

This commit is contained in:
Kevin Papst
2020-04-23 16:45:50 +02:00
committed by GitHub
parent 8f5c4dc4ec
commit 12c4205785
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@
{% endif %}
{% for metaField in activity.visibleMetaFields %}
<tr>
<th>{{ metaField.label }}</th>
<th>{{ metaField.label|trans }}</th>
<td>{{ widgets.form_type_value(metaField.type, metaField.value, activity) }}</td>
</tr>
{% endfor %}

View File

@@ -110,7 +110,7 @@
{% endif %}
{% for metaField in customer.visibleMetaFields %}
<tr>
<th>{{ metaField.label }}</th>
<th>{{ metaField.label|trans }}</th>
<td>{{ widgets.form_type_value(metaField.type, metaField.value, customer) }}</td>
</tr>
{% endfor %}

View File

@@ -84,7 +84,7 @@
{% endif %}
{% for metaField in project.visibleMetaFields %}
<tr>
<th>{{ metaField.label }}</th>
<th>{{ metaField.label|trans }}</th>
<td>{{ widgets.form_type_value(metaField.type, metaField.value, project) }}</td>
</tr>
{% endfor %}