From f2f594afb66bc1992ac882a464cf8045d4f4677b Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Thu, 19 Mar 2026 17:55:31 +0100 Subject: [PATCH] feat(templates/course_index_page.html): add CourseIndexPage template --- home/templates/home/course_index_page.html | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 home/templates/home/course_index_page.html diff --git a/home/templates/home/course_index_page.html b/home/templates/home/course_index_page.html new file mode 100644 index 0000000..11f57c3 --- /dev/null +++ b/home/templates/home/course_index_page.html @@ -0,0 +1,52 @@ +{% extends "base.html" %} +{% load static i18n wagtailcore_tags wagtailimages_tags %} + +{% block title %}{% trans "Courses" %}{% endblock title %} + +{% block body_class %}template-courseindex{% endblock body_class %} + + +{% block content %} +

{% trans "Courses" %}

+ +

{% trans "Purchased Courses" %}

+
+ {% for course in purchased_courses %} + + {% endfor %} +
+ +

{% trans "Available Courses" %}

+
+ {% for course in other_courses %} + + {% endfor %} +
+ +{% endblock content %}