Skip to content

Commit

Permalink
Change only dynamic values to admin domain
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen committed Jan 23, 2025
1 parent 34e24e6 commit d913527
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions templates/bricks/overview.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
<table>
<thead>
<tr>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.name'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.id'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.name'|trans }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.id'|trans }}</th>
{% if hasVersions %}
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.version'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.version'|trans }}</th>
{% endif %}
{% if hasDescriptions %}
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.description'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.description'|trans }}</th>
{% endif %}
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.template'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.pages'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.template'|trans }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.pages'|trans }}</th>
{% if hasAdditionalProperties %}
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.additional_properties'|trans([], 'admin') }}</th>
<th>{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.col_headers.additional_properties'|trans }}</th>
{% endif %}
</tr>
</thead>
<tbody>
{% for brick in bricks %}
<tr>
<td>{{ brick.name|trans([], 'admin') }}</td>
<td>{{ brick.name|trans(domain='admin') }}</td>
<td>{{ brick.id }}</td>
{% if hasVersions %}
<td>{{ brick.version }}</td>
{% endif %}
{% if hasDescriptions %}
<td>{{ brick.description|trans([], 'admin') }}</td>
<td>{{ brick.description|trans(domain='admin') }}</td>
{% endif %}
<td>{{ brick.template }}</td>
<td>
Expand All @@ -55,7 +55,7 @@
{% for additionalProperty in brick.additionalProperties|default([]) %}
<li><span>{{ additionalProperty.name }}</span>: {{ additionalProperty.value }}</li>
{% else %}
<li class="empty">{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.no_additional_properties'|trans([], 'admin') }}</li>
<li class="empty">{{ 'neusta_pimcore_areabrick_config.areabricks.overview.table.no_additional_properties'|trans }}</li>
{% endfor %}
</ul>
</td>
Expand Down

0 comments on commit d913527

Please sign in to comment.