Ajout du param target sur les page vhc
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user