Revert "Füge Unterstützung für Datenquellen-Synonyme hinzu."

This commit is contained in:
Marcel Diegelmann 2025-09-26 12:24:30 +02:00
parent dc4461d0e9
commit 3d3d655b54
27 changed files with 37 additions and 277 deletions

View file

@ -2,9 +2,7 @@
{% import "label_system/dropdown_macro.html.twig" as dropdown %}
{% block card_title %}
{% set dataSourceName = get_data_source_name('storagelocation', 'storelocation.labelp') %}
{% set translatedSource = 'storelocation.labelp'|trans %}
<i class="fas fa-cube fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
<i class="fas fa-cube fa-fw"></i> {% trans %}storelocation.labelp{% endtrans %}
{% endblock %}
{% block additional_controls %}