Fixing report text in the static case (removing reference to a group id)

This commit is contained in:
Nicolas Mounet 2025-07-24 11:41:46 +02:00
parent 71fa7df8a2
commit e0088c49ec

View file

@ -72,7 +72,7 @@
{% block report_results scoped %}
<div class="card bg-light mb-3" id="results-div">
<div class="card-header"><strong>Results{% if form.occupancy == {} %} - {{ group_id }}{% endif %}</strong>
<div class="card-header"><strong>Results{% if form.occupancy != {} %} - {{ group_id }}{% endif %}</strong>
<button class="icon_button p-0 float-right" data-toggle="collapse" href="#collapseResults-group_{{ group_id }}" role="button" aria-expanded="true" aria-controls="collapseResults">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-expand" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708z"/>
@ -204,7 +204,7 @@
</div>
</div>
<div class="card bg-light mb-3" id="results-div">
<div class="card-header"><strong>Result uncertainties{% if form.occupancy == {} %} - {{ group_id }}{% endif %}</strong>
<div class="card-header"><strong>Result uncertainties{% if form.occupancy != {} %} - {{ group_id }}{% endif %}</strong>
<button class="icon_button p-0 float-right" data-toggle="collapse" href="#collapseUncertainties-group_{{ group_id }}" role="button" aria-expanded="true" aria-controls="collapseUncertainties">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-expand" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708z"/>