Skip to content

Commit

Permalink
Fixed missing pagination buttons icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa authored and admd committed May 20, 2024
1 parent bb9bddb commit 92190d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,7 @@ public static void renderPaginationLinks(PageContext pageContext,
for (String linkNameIn : linkNames) {
String[] linkData = links.get(linkNameIn);
ListTagUtil.write(pageContext, "<button ");
ListTagUtil.write(pageContext, "class=\"btn btn-default btn-xs ");
ListTagUtil.write(pageContext, linkData[0]);

ListTagUtil.write(pageContext, "class=\"btn btn-default btn-xs");
// if the link is disabled...
if (linkData[1] == null) {
ListTagUtil.write(pageContext, " disabled");
Expand All @@ -565,7 +563,11 @@ public static void renderPaginationLinks(PageContext pageContext,
}
ListTagUtil.write(pageContext, "\" title=\"");
ListTagUtil.write(pageContext, linkData[3]);
ListTagUtil.write(pageContext, "\"></button>");
ListTagUtil.write(pageContext, "\">");
ListTagUtil.write(pageContext, "<i class=\"");
ListTagUtil.write(pageContext, linkData[0]);
ListTagUtil.write(pageContext, "\"></i>");
ListTagUtil.write(pageContext, "</button>");
}
ListTagUtil.write(pageContext, "</div>");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix missing icons in pagination buttons

0 comments on commit 92190d5

Please sign in to comment.