From af8ab310cef16ce71a359fffb5e4157edda0381c Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 21 Nov 2022 00:34:39 -0600 Subject: [PATCH] Fix bookmark page --- templates/user/user-bookmarks.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/user/user-bookmarks.html b/templates/user/user-bookmarks.html index 8dee499..f8a8559 100644 --- a/templates/user/user-bookmarks.html +++ b/templates/user/user-bookmarks.html @@ -16,11 +16,13 @@ {% for post in blogs %} + {% if post.bookmark.page_object() %} + {% endif %} {% endfor %} @@ -34,11 +36,13 @@ {% for problem in problems %} + {% if problem.bookmark.page_object() %} + {% endif %} {% endfor %} @@ -53,11 +57,13 @@ {% for contest in contests %} + {% if contest.bookmark.page_object() %} {{ contest.bookmark.page_object().name}} + {% endif %} {% endfor %} @@ -72,11 +78,13 @@ {% for solution in solutions %} + {% if solution.bookmark.page_object() %} {{ solution.bookmark.page_object().problem.name}} + {% endif %} {% endfor %}