mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-18 16:19:34 +00:00
# Conflicts: # src/Services/Trees/TreeViewGenerator.php # templates/components/tree_macros.html.twig # translations/messages.cs.xlf # translations/messages.da.xlf # translations/messages.de.xlf # translations/messages.el.xlf # translations/messages.en.xlf # translations/messages.es.xlf # translations/messages.fr.xlf # translations/messages.it.xlf # translations/messages.ja.xlf # translations/messages.nl.xlf # translations/messages.pl.xlf # translations/messages.ru.xlf # translations/messages.zh.xlf
15 lines
723 B
Twig
15 lines
723 B
Twig
{% extends "admin/base_company_admin.html.twig" %}
|
|
|
|
{% block card_title %}
|
|
{% set dataSourceName = get_data_source_name('manufacturer', 'manufacturer.caption') %}
|
|
{% set translatedSource = 'manufacturer.caption'|trans %}
|
|
<i class="fas fa-industry fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block edit_title %}
|
|
{% trans %}manufacturer.edit{% endtrans %}: <a href="{{ path('part_list_manufacturer', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
{% endblock %}
|
|
|
|
{% block new_title %}
|
|
{% trans %}manufacturer.new{% endtrans %}
|
|
{% endblock %}
|