File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
frontend/coprs_frontend/coprs/templates/coprs/detail Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -307,11 +307,13 @@ <h3> New Build Options </h3>
307
307
< span class ="caret "> </ span >
308
308
</ button >
309
309
< ul class ="dropdown-menu ">
310
- {% for chroot in chroots %}
311
- < li > < a href ="{{ url |format(build.id, chroot.name ) }} "> Report {{ chroot.name }} </ a > </ li >
310
+ {% if build.source_state == "failed" %}
311
+ < li > < a href ="{{ url |format(build.id, 'srpm-builds' ) }} "> Report SRPM build </ a > </ li >
312
312
{% else %}
313
- < li > < a href ="{{ url |format(build.id, 'srpm-builds') }} "> Report SRPM build</ a > </ li >
314
- {% endfor %}
313
+ {% for chroot in chroots %}
314
+ < li > < a href ="{{ url |format(build.id, chroot.name) }} "> Report {{ chroot.name }}</ a > </ li >
315
+ {% endfor %}
316
+ {% endif %}
315
317
</ ul >
316
318
</ div >
317
319
{% endmacro %}
You can’t perform that action at this time.
0 commit comments