mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 01:04:41 +02:00
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:
parent
edc54aaf91
commit
b74ab18a6d
11 changed files with 79 additions and 5 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -15,4 +15,8 @@
|
|||
|
||||
{% block new_title %}
|
||||
{% trans %}footprint.new{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_controls %}
|
||||
{{ form_row(form.alternative_names) }}
|
||||
{% endblock %}
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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) }}
|
||||
|
|
|
@ -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) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue