From 6d85d79f2d0ba58212b8766131c9bde7299ef818 Mon Sep 17 00:00:00 2001 From: yonadavGit <92536571+yonadavGit@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:25:25 +0200 Subject: [PATCH 01/11] fix(topic admin): add necessary import statement --- django_topics/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django_topics/admin.py b/django_topics/admin.py index 6b5106d26e..631a153a4d 100644 --- a/django_topics/admin.py +++ b/django_topics/admin.py @@ -1,6 +1,8 @@ from django.contrib import admin, messages from django_topics.models import Topic, TopicPool, FeaturedTopicEnglish, FeaturedTopicHebrew, SeasonalTopicEnglish, SeasonalTopicHebrew from django_topics.models.pool import PoolType +from django.utils.html import format_html + def create_add_to_pool_action(pool_name): From 425266f66c1ac7276a681498f2f1fe07b0ec2dfc Mon Sep 17 00:00:00 2001 From: yonadavGit <92536571+yonadavGit@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:26:07 +0200 Subject: [PATCH 02/11] feat(topic landing page): skeleton of the TopicMonte component --- .../js/TopicLandingPage/TopicsLandingPage.jsx | 4 +- static/js/TopicLandingPage/TopicsMonte.jsx | 51 +++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 static/js/TopicLandingPage/TopicsMonte.jsx diff --git a/static/js/TopicLandingPage/TopicsLandingPage.jsx b/static/js/TopicLandingPage/TopicsLandingPage.jsx index 8d5ccd905e..76fb22eeea 100644 --- a/static/js/TopicLandingPage/TopicsLandingPage.jsx +++ b/static/js/TopicLandingPage/TopicsLandingPage.jsx @@ -9,6 +9,7 @@ import {TopicLandingCalendar} from "./TopicLandingCalendar"; import {TopicLandingParasha} from "./TopicLandingParasha"; import {TopicLandingSeasonal} from "./TopicLandingSeasonal"; import Sefaria from "../sefaria/sefaria"; +import {TopicsMonte} from "./TopicsMonte"; export const TopicsLandingPage = ({openTopic}) => { @@ -27,7 +28,8 @@ export const TopicsLandingPage = ({openTopic}) => { - + +