feat: improved lighthouse reports
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<input
|
||||
type="text"
|
||||
name="name"
|
||||
id="simple-search"
|
||||
class="block w-full p-2 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
||||
placeholder="{% translate 'Buscar' %}"
|
||||
autocomplete="off">
|
||||
|
||||
+3
-1
@@ -77,7 +77,7 @@ class CartDetail(TemplateView, CreateView):
|
||||
cart_items = CartItem.objects.filter(cart=cart).prefetch_related("product")
|
||||
|
||||
return {
|
||||
"title": web_settings.web_title,
|
||||
"title": _(f"{web_settings.web_title} - Carrito"),
|
||||
"cart": cart,
|
||||
"items": cart_items,
|
||||
"description": _("resumen del carrito"),
|
||||
@@ -166,6 +166,8 @@ class OrderDetail(TemplateView):
|
||||
settings = WebSettings.load()
|
||||
|
||||
return {
|
||||
"title": _(f"{settings.web_title} - Comprar"),
|
||||
"description": _(f"{settings.web_title} - Comprar"),
|
||||
"order": order,
|
||||
"items": items,
|
||||
"signature_version": parameters.get("Ds_SignatureVersion"),
|
||||
|
||||
Reference in New Issue
Block a user