Skip to content

Commit 1d915ed

Browse files
committed
Allowing for consistent icon styles
1 parent b9f5698 commit 1d915ed

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/main/java/org/computate/frFR/java/ConfigSite.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ protected void _templateChemin() throws Exception {
290290
templateChemin = config.getString(langueConfigGlobale.getString(I18n.var_TEMPLATE_CHEMIN));
291291
}
292292

293+
public String fontawesomeStyle;
294+
protected void _fontawesomeStyle() throws Exception {
295+
if (fontawesomeStyle == null)
296+
fontawesomeStyle = config.getString(langueConfigGlobale.getString(I18n.var_FONTAWESOME_STYLE));
297+
}
298+
293299
/**
294300
* Var.enUS: srcMainJavaPath enUS: The absolute path to the /src/main/java
295301
* directory.
@@ -956,6 +962,7 @@ public void initConfigSite() throws Exception {
956962
_siteChemin();
957963
_cheminStatique();
958964
_templateChemin();
965+
_fontawesomeStyle();
959966
_cheminSrcMainJava();
960967
_cheminSrcMainResources();
961968
_cheminSrcGenJava();

src/main/java/org/computate/frFR/java/IndexerClasse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6157,7 +6157,7 @@ else if(StringUtils.contains(classeApiMethode, i18nGlobale.getString(I18n.var_Re
61576157
wSmartDataModel.l(" * Order: 1");
61586158
wSmartDataModel.l(" * Description: ", modelDescription);
61596159
wSmartDataModel.l(" * AName: ", aName);
6160-
wSmartDataModel.l(" * Icon: <i class=\"fa-duotone fa-regular fa-conveyor-belt\"></i>");
6160+
wSmartDataModel.l(" * Icon: <i class=\"", fontawesomeStyle, " fa-conveyor-belt\"></i>");
61616161
wSmartDataModel.l(" * Rows: 100");
61626162
wSmartDataModel.l(" * ");
61636163
wSmartDataModel.l(" * SearchPageUri: /en-us/search/", idName);

0 commit comments

Comments
 (0)