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
39 lines
1.4 KiB
Twig
39 lines
1.4 KiB
Twig
{% extends "admin/base_admin.html.twig" %}
|
|
|
|
{% block card_title %}
|
|
{% set dataSourceName = get_data_source_name('footprint', 'footprint.labelp') %}
|
|
{% set translatedSource = 'footprint.labelp'|trans %}
|
|
<i class="fas fa-microchip fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block master_picture_block %}
|
|
{{ form_row(form.master_picture_attachment) }}
|
|
{{ form_row(form.footprint_3d) }}
|
|
{% endblock %}
|
|
|
|
{% block edit_title %}
|
|
{% trans %}footprint.edit{% endtrans %}: <a href="{{ path('part_list_footprint', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
{% endblock %}
|
|
|
|
{% block new_title %}
|
|
{% trans %}footprint.new{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block additional_controls %}
|
|
{{ form_row(form.alternative_names) }}
|
|
{% endblock %}
|
|
|
|
{% block additional_pills %}
|
|
<li class="nav-item"><a data-bs-toggle="tab" class="nav-link link-anchor" href="#eda">{% trans %}part.edit.tab.eda{% endtrans %}</a></li>
|
|
{% endblock %}
|
|
|
|
{% block additional_panes %}
|
|
<div class="tab-pane" id="eda">
|
|
<div class="row">
|
|
<div class="col-sm-9 offset-sm-3">
|
|
<h6>{% trans %}eda_info.kicad_section.title{% endtrans %}:</h6>
|
|
</div>
|
|
</div>
|
|
{{ form_row(form.eda_info.kicad_footprint) }}
|
|
</div>
|
|
{% endblock %}
|