File tree Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Original file line number Diff line number Diff line change 3232 {{ form_row(form .description ) }}
3333 {{ form_row(form .status ) }}
3434 {{ form_row(form .ipn ) }}
35- {% if entity .id %}
36- <div class =" mb-2 row" >
37- <label class =" col-form-label col-sm-3" >{% trans %}assembly.edit.associated_build_part{% endtrans %}</label >
38- <div class =" col-sm-9" >
39- {% if entity .buildPart %}
40- <span class =" form-control-static" ><a href =" {{ entity_url(entity .buildPart ) }}" >{{ entity .buildPart .name }}</a ></span >
41- {% else %}
42- <a href =" {{ path(' part_new_build_part_assembly' , {" assembly_id" : entity .id , " _redirect" : uri_without_host(app .request )}) }}"
43- class =" btn btn-outline-success" >{% trans %}assembly.edit.associated_build_part.add{% endtrans %}</a >
44- {% endif %}
45- <p class =" text-muted" >{% trans %}assembly.edit.associated_build.hint{% endtrans %}</p >
46- </div >
47- </div >
48- {% endif %}
49-
5035{% endblock %}
5136
5237{% block additional_panes %}
6247 </a >
6348 {% endif %}
6449 </div >
65- {% endblock %}
50+ {% endblock %}
Original file line number Diff line number Diff line change 2020 {% endif %}
2121 </h3 >
2222 <h6 class =" text-muted w-fit" title =" {% trans %}description.label{% endtrans %}" ><span >{{ assembly .description | format_markdown(true ) }}</span ></h6 >
23- {% if assembly .buildPart %}
24- <h6 >{% trans %}assembly.edit.associated_build_part{% endtrans %}:</h6 >
25- <a href =" {{ entity_url(assembly .buildPart ) }}" >{{ assembly .buildPart .name }}</a >
26- {% endif %}
27-
2823 </div >
2924 </div >
3025 </div >
7469 {{ assembly .comment | format_markdown }}
7570 </p >
7671 {% endif %}
77- </div >
72+ </div >
Original file line number Diff line number Diff line change 7878 <span class =" badge bg-secondary" >{{ assembly .bomEntries | length }}</span >
7979 </button >
8080 </li >
81- <li class =" nav-item" role =" presentation" >
82- <button class =" nav-link" id =" builds-tab" data-bs-toggle =" tab" data-bs-target =" #builds-tab-pane"
83- type =" button" role =" tab" aria-controls =" builds-tab-pane" aria-selected =" false" >
84- <i class =" fa-solid fa-bolt fa-fw" ></i >
85- {% trans %}assembly.info.builds.label{% endtrans %}
86- </button >
87- </li >
8881 {% if assembly .attachments is not empty %}
8982 <li class =" nav-item" >
9083 <a class =" nav-link" id =" attachments-tab" data-bs-toggle =" tab"
10497 <div class =" tab-pane fade" id =" part-tab-pane" role =" tabpanel" aria-labelledby =" part-tab" tabindex =" 0" >
10598 {% include " assemblies/info/_part.html.twig" %}
10699 </div >
107- <div class =" tab-pane fade" id =" builds-tab-pane" role =" tabpanel" aria-labelledby =" builds-tab" tabindex =" 0" >
108- {% include " assemblies/info/_builds.html.twig" %}
109- </div >
110100 <div class =" tab-pane fade" id =" attachments-tab-pane" role =" tabpanel" aria-labelledby =" attachments-tab" tabindex =" 0" >
111101 {% include " assemblies/info/_attachments_info.html.twig" with {" assembly" : assembly } %}
112102 </div >
113103 </div >
114104
115- {% endblock %}
105+ {% endblock %}
You can’t perform that action at this time.
0 commit comments