mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-28 22:09:32 +00:00
Die Spracheinstellungen/System-Settings wurden um die Möglichkeit ergänzt, bevorzugte Sprachen für die Dropdown-Menüs festzulegen. Zudem wurde ein Datenquellen-Synonymsystem implementiert, um benutzerfreundlichere Bezeichnungen anzuzeigen und zu personalisieren.
24 lines
No EOL
971 B
Twig
24 lines
No EOL
971 B
Twig
{% extends "admin/base_company_admin.html.twig" %}
|
|
|
|
{% block card_title %}
|
|
{% set dataSourceName = get_data_source_name('supplier', 'supplier.caption') %}
|
|
{% set translatedSource = 'supplier.caption'|trans %}
|
|
<i class="fas fa-truck fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block additional_panes %}
|
|
<div class="tab-pane" id="home_advanced">
|
|
{{ form_row(form.alternative_names) }}
|
|
{{ form_row(form.default_currency) }}
|
|
{{ form_row(form.shipping_costs) }}
|
|
{{ form_row(form.comment) }}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block edit_title %}
|
|
{% trans %}supplier.edit{% endtrans %}: <a href="{{ path('part_list_supplier', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
{% endblock %}
|
|
|
|
{% block new_title %}
|
|
{% trans %}supplier.new{% endtrans %}
|
|
{% endblock %} |