Fixed html path for categories.
This commit is contained in:
parent
15459f6131
commit
e9e5bcebd7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue