mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Changed logic of invisible to a (forced) visibility field
This commit is contained in:
parent
bc37d11f13
commit
7d69d6ba30
9 changed files with 37 additions and 29 deletions
|
@ -41,7 +41,7 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
{{ form_row(form.eda_info.invisible) }}
|
||||
{{ form_row(form.eda_info.visibility) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
{{ form_row(form.eda_info.invisible) }}
|
||||
{{ form_row(form.eda_info.visibility) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<br>
|
||||
<b>{% trans %}eda_info.value{% endtrans %}:</b> {{ part.edaInfo.value }}
|
||||
<br>
|
||||
<b>{% trans %}eda_info.invisible{% endtrans %}:</b> {{ helper.boolean_badge( part.edaInfo.invisible ?? part.category.edaInfo.invisible ?? false) }}
|
||||
<b>{% trans %}eda_info.visibility{% endtrans %}:</b> {{ helper.boolean_badge( part.edaInfo.visibility ?? part.category.edaInfo.visibility) }}
|
||||
<br>
|
||||
<b>{% trans %}eda_info.exclude_from_bom{% endtrans %}:</b> {{ helper.boolean_badge( part.edaInfo.excludeFromBom ?? part.category.edaInfo.excludeFromBom ?? false) }}
|
||||
<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue