Ajout du param target sur les page vhc

This commit is contained in:
Ambulance Clerc
2022-12-03 14:54:30 +01:00
parent f1b6c9a249
commit edfdccd797

View File

@@ -10,9 +10,9 @@ from vehicles.models import *
@xframe_options_exempt
def view_vhc(request):
if not "target" in request.GET.keys():
target = "__self"
target = "_self"
else:
target = "__blank"
target = "_blank"
template = loader.get_template("vhc/vhc.html")
a_vhc = Vehicles.objects.all().order_by("nStatus","nOrder")