Skip to content

Commit 703a568

Browse files
committed
breadcrumb, search, and form buttons as page vars
1 parent 8dc8c6c commit 703a568

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

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

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5609,12 +5609,12 @@ public void ecrirePageBoutonsRecherche(String langueNom, JsonObject i18nPage) th
56095609
//////////////
56105610
// bouton q //
56115611
//////////////
5612-
// // tl(5, "<", composantsWebPrefixe, "tooltip placement=\"top\" content=\"", i18nPage.getString(I18n.str_Recherche_avancee_pour_), classeNomAdjectifPluriel, "\">");
5613-
// tl(7, "<", composantsWebPrefixe, "button class=\"", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Rechercher), " ", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Rechercher), "_", classeNomSimple, " \"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " onclick=\"document.querySelector('#site", i18nPage.getString(I18n.var_BarreLaterale), "Toggle", i18nPage.getString(I18n.var_Recherche), "').open = true; \">");
5614-
// tl(8, "<i slot=\"start\" class=\"{{ FONTAWESOME_STYLE }} fa-magnifying-glass hover-box-shadow \"></i> ");
5615-
// tl(8, i18nPage.getString(I18n.str_rechercher));
5616-
// tl(7, "</", composantsWebPrefixe, "button>");
5617-
// // tl(5, "</", composantsWebPrefixe, "tooltip>");
5612+
// tl(5, "<", composantsWebPrefixe, "tooltip placement=\"top\" content=\"", i18nPage.getString(I18n.str_Recherche_avancee_pour_), classeNomAdjectifPluriel, "\">");
5613+
tl(7, "<", composantsWebPrefixe, "button class=\"", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Rechercher), " ", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Rechercher), "_", classeNomSimple, " \"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " onclick=\"document.querySelector('#site", i18nPage.getString(I18n.var_BarreLaterale), "Toggle", i18nPage.getString(I18n.var_Recherche), "').open = true; \">");
5614+
tl(8, "<i slot=\"start\" class=\"{{ FONTAWESOME_STYLE }} fa-magnifying-glass hover-box-shadow \"></i> ");
5615+
tl(8, i18nPage.getString(I18n.str_rechercher));
5616+
tl(7, "</", composantsWebPrefixe, "button>");
5617+
// tl(5, "</", composantsWebPrefixe, "tooltip>");
56185618

56195619
///////////////
56205620
// bouton fq //
@@ -5651,12 +5651,12 @@ public void ecrirePageBoutonsRecherche(String langueNom, JsonObject i18nPage) th
56515651
//////////////////
56525652
// bouton pivot //
56535653
//////////////////
5654-
// tl(5, "<", composantsWebPrefixe, "tooltip placement=\"top\" content=\"", i18nPage.getString(I18n.str_Recherche_avancee_pour_), classeNomAdjectifPluriel, "\">");
5655-
tl(7, "<", composantsWebPrefixe, "button class=\"", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Pivot), " ", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Pivot), "_", classeNomSimple, " \"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " onclick=\"document.querySelector('#site", i18nPage.getString(I18n.var_BarreLaterale), "Toggle", i18nPage.getString(I18n.var_Pivot), "').open = true; \">");
5656-
tl(8, "<i slot=\"start\" class=\"{{ FONTAWESOME_STYLE }} fa-table-pivot hover-box-shadow \"></i> ");
5657-
tl(8, i18nPage.getString(I18n.str_pivot));
5658-
tl(7, "</", composantsWebPrefixe, "button>");
5659-
// tl(5, "</", composantsWebPrefixe, "tooltip>");
5654+
// // tl(5, "<", composantsWebPrefixe, "tooltip placement=\"top\" content=\"", i18nPage.getString(I18n.str_Recherche_avancee_pour_), classeNomAdjectifPluriel, "\">");
5655+
// tl(7, "<", composantsWebPrefixe, "button class=\"", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Pivot), " ", i18nPage.getString(I18n.var_BoutonsRecherche), "_", i18nPage.getString(I18n.var_Pivot), "_", classeNomSimple, " \"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " onclick=\"document.querySelector('#site", i18nPage.getString(I18n.var_BarreLaterale), "Toggle", i18nPage.getString(I18n.var_Pivot), "').open = true; \">");
5656+
// tl(8, "<i slot=\"start\" class=\"{{ FONTAWESOME_STYLE }} fa-table-pivot hover-box-shadow \"></i> ");
5657+
// tl(8, i18nPage.getString(I18n.str_pivot));
5658+
// tl(7, "</", composantsWebPrefixe, "button>");
5659+
// // tl(5, "</", composantsWebPrefixe, "tooltip>");
56605660

56615661
/////////////////////////
56625662
// bouton liste champs //
@@ -5813,6 +5813,21 @@ public void ecrirePageRechercheJinja(String langueNom, JsonObject i18nPage) thro
58135813
// htmBody //
58145814
/////////////
58155815

5816+
5817+
tl(0, "{%- if ", i18nPage.getString(I18n.var_pageFilDAriane), " is not defined %}");
5818+
tl(0, "{%- set ", i18nPage.getString(I18n.var_pageFilDAriane), " %}");
5819+
tl(7, "<", composantsWebPrefixe, "tooltip for=\"", i18nPage.getString(I18n.var_retourner_a_), classeNomSimple, "\">", i18nPage.getString(I18n.str_retourner_a_), classeTousNom, "</", composantsWebPrefixe, "tooltip>");
5820+
tl(7, "<", composantsWebPrefixe, "breadcrumb>");
5821+
tl(8, "<", composantsWebPrefixe, "breadcrumb-item id=\"", i18nPage.getString(I18n.var_retourner_a_), classeNomSimple, "\"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " href=\"{{ SITE_BASE_URL }}{{ pageUri }}\">");
5822+
tl(9, classeIcone);
5823+
tl(9, classeTousNom);
5824+
tl(8, "</", composantsWebPrefixe, "breadcrumb-item>");
5825+
tl(8, "<", composantsWebPrefixe, "breadcrumb-item>");
5826+
t(9).sx(classeRechercherTousNom).l();
5827+
tl(8, "</", composantsWebPrefixe, "breadcrumb-item>");
5828+
tl(7, "</", composantsWebPrefixe, "breadcrumb>");
5829+
tl(0, "{%- endset ", i18nPage.getString(I18n.var_pageFilDAriane), " %}");
5830+
tl(0, "{%- endif %}");
58165831
l();
58175832
tl(0, "{%- block htmBody", i18nPage.getString(I18n.var_Debut), classePageSuperNomSimple, " %}");
58185833
tl(0, "{{ super() }}");
@@ -5852,19 +5867,7 @@ public void ecrirePageRechercheJinja(String langueNom, JsonObject i18nPage) thro
58525867
// tl(7, "<h3 id=\"site-calendar-title\">Calendar</h3>");
58535868
tl(7, "<div id=\"site-calendar\"><!-- // --></div>");
58545869
tl(6, "</div>");
5855-
58565870
tl(6, "<div class=\"", composantsWebPrefixe, "stack ", composantsWebPrefixe, "gap-m \">");
5857-
tl(7, "<", composantsWebPrefixe, "tooltip for=\"", i18nPage.getString(I18n.var_retourner_a_), classeNomSimple, "\">", i18nPage.getString(I18n.str_retourner_a_), classeTousNom, "</", composantsWebPrefixe, "tooltip>");
5858-
tl(7, "<", composantsWebPrefixe, "breadcrumb>");
5859-
tl(8, "<", composantsWebPrefixe, "breadcrumb-item id=\"", i18nPage.getString(I18n.var_retourner_a_), classeNomSimple, "\"", "wa-".equals(composantsWebPrefixe) ? " variant=\"brand\"" : " variant=\"primary\" outline", " href=\"{{ SITE_BASE_URL }}{{ pageUri }}\">");
5860-
tl(9, classeIcone);
5861-
tl(9, classeTousNom);
5862-
tl(8, "</", composantsWebPrefixe, "breadcrumb-item>");
5863-
tl(8, "<", composantsWebPrefixe, "breadcrumb-item>");
5864-
t(9).sx(classeRechercherTousNom).l();
5865-
tl(8, "</", composantsWebPrefixe, "breadcrumb-item>");
5866-
tl(7, "</", composantsWebPrefixe, "breadcrumb>");
5867-
58685871

58695872
/////////////////
58705873
// htmBodyTous //

0 commit comments

Comments
 (0)