From 2646af19b3256acafbb8c4ed5973cc3cd328246a Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com.> Date: Mon, 20 May 2024 18:18:26 +0100 Subject: [PATCH] config fix and book icons --- .../java/stirling/software/SPDF/config/ConfigInitializer.java | 2 -- src/main/resources/templates/home.html | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java b/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java index e82e8f3f..e8433588 100644 --- a/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java +++ b/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java @@ -70,7 +70,6 @@ public class ConfigInitializer if (!entry.isEmpty()) { // Check if this comment has been uncommented in userLines String key = entry.split(":")[0].trim(); - System.out.println("key=" + key + ", entry=" + entry ); addLine(resultLines, userLines, templateLine, key); } else { resultLines.add(templateLine); @@ -104,7 +103,6 @@ public class ConfigInitializer boolean added = false; int templateIndentationLevel = getIndentationLevel(templateLine); for (String settingsLine : userLines) { - if(settingsLine.contains("oauth2") || settingsLine.contains("enabled") ) if (settingsLine.trim().startsWith(key + ":")) { int settingsIndentationLevel = getIndentationLevel(settingsLine); // Check if it is correct settingsLine and has the same parent as templateLine diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 9f78c128..24e7472f 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -219,10 +219,10 @@ th:replace="~{fragments/card :: card(id='split-pdf-by-sections', cardTitle=#{home.split-by-sections.title}, cardText=#{home.split-by-sections.desc}, cardLink='split-pdf-by-sections', toolIcon='grid_on', tags=#{split-by-sections.tags}, toolGroup='advance')}">