From a9ea893d806cf567d2e033e26565ba1f142859b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 10 Apr 2026 08:21:02 +0000 Subject: [PATCH 1/2] Initial plan From 623cc8945ef719641f2eee6f1f261a86b0091e6e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 10 Apr 2026 08:22:38 +0000 Subject: [PATCH 2/2] Hide register buttons on home page when user is logged in Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/59eddd8a-c067-45a7-9335-d43e3e4938b1 Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com> --- tienda/templates/tienda/home.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tienda/templates/tienda/home.html b/tienda/templates/tienda/home.html index 427250d..cbdebdc 100644 --- a/tienda/templates/tienda/home.html +++ b/tienda/templates/tienda/home.html @@ -128,9 +128,11 @@ 🛍️ Explorar Productos + {% if not user.is_authenticated %} 📝 Registrarse + {% endif %} @@ -219,6 +221,7 @@ {% endif %} +{% if not user.is_authenticated %}