From f72efa49af5043a5a22ba436a42e6c60c8e7b0b9 Mon Sep 17 00:00:00 2001 From: Etheryte Date: Tue, 8 Oct 2024 13:46:34 +0200 Subject: [PATCH 1/2] Revert "Fixed missing pagination buttons icon" This reverts commit 92190d58008dd9ceebf2f9e73064b12d8d57d5f2. --- .../redhat/rhn/frontend/taglibs/list/ListTagUtil.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/java/code/src/com/redhat/rhn/frontend/taglibs/list/ListTagUtil.java b/java/code/src/com/redhat/rhn/frontend/taglibs/list/ListTagUtil.java index 17229167ee2a..2657329b2865 100644 --- a/java/code/src/com/redhat/rhn/frontend/taglibs/list/ListTagUtil.java +++ b/java/code/src/com/redhat/rhn/frontend/taglibs/list/ListTagUtil.java @@ -550,7 +550,9 @@ public static void renderPaginationLinks(PageContext pageContext, for (String linkNameIn : linkNames) { String[] linkData = links.get(linkNameIn); ListTagUtil.write(pageContext, ""); + ListTagUtil.write(pageContext, "\">"); } ListTagUtil.write(pageContext, ""); } From 350d8c3b2073ab0694eb4cec2a954fa21f807afb Mon Sep 17 00:00:00 2001 From: Etheryte Date: Wed, 9 Oct 2024 12:35:37 +0200 Subject: [PATCH 2/2] Fix font icon style assignment (bsc#1231378) --- java/spacewalk-java.changes.eth.fa2 | 1 + .../src/branding/css/susemanager/components/icons.less | 8 ++++++++ .../src/branding/css/susemanager/components/icons.scss | 8 ++++++++ web/html/src/branding/css/susemanager/index.less | 1 + web/html/src/branding/css/susemanager/index.scss | 1 + web/spacewalk-web.changes.eth.fa2 | 1 + 6 files changed, 20 insertions(+) create mode 100644 java/spacewalk-java.changes.eth.fa2 create mode 100644 web/html/src/branding/css/susemanager/components/icons.less create mode 100644 web/html/src/branding/css/susemanager/components/icons.scss create mode 100644 web/spacewalk-web.changes.eth.fa2 diff --git a/java/spacewalk-java.changes.eth.fa2 b/java/spacewalk-java.changes.eth.fa2 new file mode 100644 index 000000000000..7655cc7748d5 --- /dev/null +++ b/java/spacewalk-java.changes.eth.fa2 @@ -0,0 +1 @@ +- Ensure icon fonts are loaded correctly on buttons (bsc#1231378) diff --git a/web/html/src/branding/css/susemanager/components/icons.less b/web/html/src/branding/css/susemanager/components/icons.less new file mode 100644 index 000000000000..393178cbee7f --- /dev/null +++ b/web/html/src/branding/css/susemanager/components/icons.less @@ -0,0 +1,8 @@ +.fa, +[class^="fa-"] { + font-family: "FontAwesome"; +} + +[class*="spacewalk-icon-"] { + font-family: "spacewalk-icon"; +} diff --git a/web/html/src/branding/css/susemanager/components/icons.scss b/web/html/src/branding/css/susemanager/components/icons.scss new file mode 100644 index 000000000000..393178cbee7f --- /dev/null +++ b/web/html/src/branding/css/susemanager/components/icons.scss @@ -0,0 +1,8 @@ +.fa, +[class^="fa-"] { + font-family: "FontAwesome"; +} + +[class*="spacewalk-icon-"] { + font-family: "spacewalk-icon"; +} diff --git a/web/html/src/branding/css/susemanager/index.less b/web/html/src/branding/css/susemanager/index.less index 9ab7bb8c60a2..2ab30220f611 100644 --- a/web/html/src/branding/css/susemanager/index.less +++ b/web/html/src/branding/css/susemanager/index.less @@ -25,6 +25,7 @@ @import "./components/date-time-picker.less"; @import "./components/header.less"; @import "./components/address.less"; +@import "./components/icons.less"; // Responsive overrides @import "../base/responsive-rules.less"; diff --git a/web/html/src/branding/css/susemanager/index.scss b/web/html/src/branding/css/susemanager/index.scss index 9f90d4e75754..e2f84d97b3c4 100644 --- a/web/html/src/branding/css/susemanager/index.scss +++ b/web/html/src/branding/css/susemanager/index.scss @@ -31,6 +31,7 @@ @import "./components/legend.scss"; @import "./components/help-block.scss"; @import "./components/collapse.scss"; +@import "./components/icons.scss"; @import "./bootstrap-fixes.scss"; diff --git a/web/spacewalk-web.changes.eth.fa2 b/web/spacewalk-web.changes.eth.fa2 new file mode 100644 index 000000000000..7655cc7748d5 --- /dev/null +++ b/web/spacewalk-web.changes.eth.fa2 @@ -0,0 +1 @@ +- Ensure icon fonts are loaded correctly on buttons (bsc#1231378)