From e9e5bcebd726d06300eb08ff5401a01ccc31cb1e Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 16 Aug 2024 23:27:52 +0200 Subject: [PATCH] Fixed html path for categories. --- src/website/federation/categories/CategoriesView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/website/federation/categories/CategoriesView.java b/src/website/federation/categories/CategoriesView.java index 685e2e1..9e05895 100644 --- a/src/website/federation/categories/CategoriesView.java +++ b/src/website/federation/categories/CategoriesView.java @@ -72,13 +72,13 @@ public class CategoriesView if (mode == Mode.ALL) { data.setAttribute("category", index, "categoryLink", "title", category.getDescription()); - data.setAttribute("category", index, "categoryLogo", "src", "/commons/" + category.getLogoPath()); + data.setAttribute("category", index, "categoryLogo", "src", "/commons/categories/" + category.getLogoPath()); data.setEscapedContent("category", index, "categoryName", category.getName()); } else if (mode == Mode.ICONS_ONLY) { data.setAttribute("category", index, "categoryLink", "title", category.getName()); - data.setAttribute("category", index, "categoryLogo", "src", "/commons/" + category.getLogoPath()); + data.setAttribute("category", index, "categoryLogo", "src", "/commons/categories/" + category.getLogoPath()); data.setAttribute("category", index, "categoryName", "class", "xid:nodisplay"); } else if (mode == Mode.LABELS_ONLY)