Mark the special project build status in part info page and parts tables

This commit is contained in:
Jan Böhmer 2022-12-29 16:56:24 +01:00
parent fdcd1b9d9d
commit 05c4adb928
6 changed files with 47 additions and 3 deletions

View file

@ -20,6 +20,9 @@
{% if timeTravel != null %}
<i>({{ timeTravel | format_datetime('short') }})</i>
{% endif %}
{% if part.projectBuildPart %}
(<i>{{ entity_type_label(part.builtProject) }}</i>: <a class="text-white" href="{{ entity_url(part.builtProject) }}">{{ part.builtProject.name }}</a>)
{% endif %}
<div class="float-end">
{% trans %}id.label{% endtrans %}: {{ part.id }} {% if part.ipn is not empty %}(<i>{{ part.ipn }}</i>){% endif %}
</div>