config fix and book icons
This commit is contained in:
parent
2443ed2020
commit
2646af19b3
2 changed files with 2 additions and 4 deletions
|
@ -70,7 +70,6 @@ public class ConfigInitializer
|
||||||
if (!entry.isEmpty()) {
|
if (!entry.isEmpty()) {
|
||||||
// Check if this comment has been uncommented in userLines
|
// Check if this comment has been uncommented in userLines
|
||||||
String key = entry.split(":")[0].trim();
|
String key = entry.split(":")[0].trim();
|
||||||
System.out.println("key=" + key + ", entry=" + entry );
|
|
||||||
addLine(resultLines, userLines, templateLine, key);
|
addLine(resultLines, userLines, templateLine, key);
|
||||||
} else {
|
} else {
|
||||||
resultLines.add(templateLine);
|
resultLines.add(templateLine);
|
||||||
|
@ -104,7 +103,6 @@ public class ConfigInitializer
|
||||||
boolean added = false;
|
boolean added = false;
|
||||||
int templateIndentationLevel = getIndentationLevel(templateLine);
|
int templateIndentationLevel = getIndentationLevel(templateLine);
|
||||||
for (String settingsLine : userLines) {
|
for (String settingsLine : userLines) {
|
||||||
if(settingsLine.contains("oauth2") || settingsLine.contains("enabled") )
|
|
||||||
if (settingsLine.trim().startsWith(key + ":")) {
|
if (settingsLine.trim().startsWith(key + ":")) {
|
||||||
int settingsIndentationLevel = getIndentationLevel(settingsLine);
|
int settingsIndentationLevel = getIndentationLevel(settingsLine);
|
||||||
// Check if it is correct settingsLine and has the same parent as templateLine
|
// Check if it is correct settingsLine and has the same parent as templateLine
|
||||||
|
|
|
@ -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')}">
|
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')}">
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
th:replace="~{fragments/card :: card(id='book-to-pdf', cardTitle=#{home.BookToPDF.title}, cardText=#{home.BookToPDF.desc}, cardLink='book-to-pdf', toolIcon='images/book.svg', tags=#{BookToPDF.tags}, toolGroup='convert')}">
|
th:replace="~{fragments/card :: card(id='book-to-pdf', cardTitle=#{home.BookToPDF.title}, cardText=#{home.BookToPDF.desc}, cardLink='book-to-pdf', toolIcon='book', tags=#{BookToPDF.tags}, toolGroup='convert')}">
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
th:replace="~{fragments/card :: card(id='pdf-to-book', cardTitle=#{home.PDFToBook.title}, cardText=#{home.PDFToBook.desc}, cardLink='pdf-to-book', toolIcon='images/book.svg', tags=#{PDFToBook.tags}, toolGroup='convert')}">
|
th:replace="~{fragments/card :: card(id='pdf-to-book', cardTitle=#{home.PDFToBook.title}, cardText=#{home.PDFToBook.desc}, cardLink='pdf-to-book', toolIcon='book', tags=#{PDFToBook.tags}, toolGroup='convert')}">
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
th:replace="~{fragments/card :: card(id='stamp', cardTitle=#{home.AddStampRequest.title}, cardText=#{home.AddStampRequest.desc}, cardLink='stamp', toolIcon='approval', tags=#{AddStampRequest.tags}, toolGroup='security')}">
|
th:replace="~{fragments/card :: card(id='stamp', cardTitle=#{home.AddStampRequest.title}, cardText=#{home.AddStampRequest.desc}, cardLink='stamp', toolIcon='approval', tags=#{AddStampRequest.tags}, toolGroup='security')}">
|
||||||
|
|
Loading…
Reference in a new issue