mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 03:09:33 +00:00
Mark the special project build status in part info page and parts tables
This commit is contained in:
parent
fdcd1b9d9d
commit
05c4adb928
6 changed files with 47 additions and 3 deletions
|
|
@ -37,14 +37,20 @@
|
|||
<td>{{ part.iD }}</td>
|
||||
</tr>
|
||||
|
||||
<tr> {# ID #}
|
||||
<tr> {# IPN #}
|
||||
<td>{% trans %}part.edit.ipn{% endtrans %}</td>
|
||||
<td>{{ part.ipn ?? 'part.ipn.not_defined'|trans }}</td>
|
||||
</tr>
|
||||
|
||||
<tr> {# Favorite status #}
|
||||
<td>{% trans %}part.isFavorite{% endtrans %}</td>
|
||||
<td>{{ helper.boolean(part.favorite) }}</td>
|
||||
<td>{{ helper.boolean_badge(part.favorite) }}</td>
|
||||
</tr>
|
||||
|
||||
<tr> {# Build status #}
|
||||
<td>{% trans %}part.is_build_part{% endtrans %}</td>
|
||||
<td>{{ helper.boolean_badge(part.projectBuildPart) }}
|
||||
{% if part.projectBuildPart %}(<a href="{{ entity_url(part.builtProject, "edit") }}">{{ part.builtProject.name }}</a>){% endif %}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue