feat: Add option to switch between normal and dq

This commit is contained in:
2025-07-20 13:42:56 +02:00
parent 7f7c5a3b04
commit 36c90531a8
2 changed files with 10 additions and 2 deletions

View File

@@ -848,6 +848,7 @@ def rescue_organization_check(request, context=None):
context["percentage_checked"] = percentage_checked
context["num_rescue_orgs_checked"] = num_rescue_orgs_checked
context["rescue_orgs_with_ongoing_communication"] = rescue_orgs_with_ongoing_communication
context["set_internal_comment_available"] = True
return render(request, 'fellchensammlung/rescue-organization-check.html', context=context)
@@ -858,7 +859,7 @@ def rescue_organization_check_dq(request):
DQ = data quality
"""
context = {"set_species_url_available": True,
"set_internal_comment_available": True,
"dq": True,
"species_url_form": SpeciesURLForm,
"internal_comment_form": RescueOrgInternalComment}
return rescue_organization_check(request, context)