Added possibility to define alternative names on data structures

This can be used to find elements, based on the data returned by info providers
This commit is contained in:
Jan Böhmer 2023-07-16 22:59:46 +02:00
parent edc54aaf91
commit b74ab18a6d
11 changed files with 79 additions and 5 deletions

View file

@ -17,6 +17,7 @@
{% block additional_panes %}
<div class="tab-pane" id="home_advanced">
{{ form_row(form.alternative_names) }}
{{ form_row(form.comment) }}
</div>
{% endblock %}

View file

@ -26,6 +26,8 @@
</div>
<div class="tab-pane" id="home_advanced">
{{ form_row(form.alternative_names) }}
<hr>
{{ form_row(form.partname_regex) }}
{{ form_row(form.partname_hint) }}
<hr>

View file

@ -15,4 +15,8 @@
{% block new_title %}
{% trans %}footprint.new{% endtrans %}
{% endblock %}
{% block additional_controls %}
{{ form_row(form.alternative_names) }}
{% endblock %}

View file

@ -16,5 +16,6 @@
{{ form_row(form.unit) }}
{{ form_row(form.is_integer) }}
{{ form_row(form.use_si_prefix)}}
{{ form_row(form.alternative_names) }}
{% endblock %}

View file

@ -21,6 +21,8 @@
{% block additional_panes %}
<div class="tab-pane" id="home_options">
{{ form_row(form.alternative_names) }}
{{ form_row(form.storage_type) }}
{{ form_row(form.is_full) }}
{{ form_row(form.limit_to_existing_parts) }}

View file

@ -6,6 +6,7 @@
{% 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) }}