From 3db74607cebe41e67e999dbe0c008a00d846ab18 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Nov 2025 12:20:25 +0000 Subject: [PATCH] Enhance index.html with login prompts for unauthenticated users and additional help information for external users --- templates/index.html | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 1bb23f7e..21a3dd6f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,6 @@ {% extends 'base.html' %} {% load auth_extras %} +{% load help_tags %} {% block content %}
@@ -9,10 +10,10 @@

PENRA Courses

{% if not request.user.is_authenticated %} -
+{% comment %} +
{% endcomment %} {% else %} Your profile {% endif %} @@ -47,6 +48,22 @@ View my courses
+ {% else %} +
+
+
Peninsula Trainees
+

Please log in to access your exams and courses.

+ Log in + Reset password +
+
+ {% endif %} {% if collections %}