mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Tries to extract parameters from part description and comment.
This commit is contained in:
parent
2899db0206
commit
b66aabd153
4 changed files with 187 additions and 2 deletions
|
@ -4,4 +4,14 @@
|
|||
{% for name, parameters in part.groupedParameters %}
|
||||
{% if name is not empty %}<h5 class="mt-1">{{ name }}</h5>{% endif %}
|
||||
{{ helper.parameters_table(parameters) }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% if description_params is not empty %}
|
||||
<h5 class="mt-1">{% trans %}parameters.extracted_from_description{% endtrans %}</h5>
|
||||
{{ helper.parameters_table(description_params) }}
|
||||
{% endif %}
|
||||
|
||||
{% if comment_params is not empty %}
|
||||
<h5 class="mt-1">{% trans %}parameters.auto_extracted_from_comment{% endtrans %}</h5>
|
||||
{{ helper.parameters_table(comment_params) }}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue