diff --git a/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java b/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java index 78cf234..392f571 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Christian Pierre MOMON + * Copyright (C) 2020-2021 Christian Pierre MOMON * * This file is part of StatoolInfos, simple service statistics tool. * @@ -112,6 +112,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLineDiasporaImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLineDiasporaImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLineDiasporaLink", "href", organization.getDiasporaWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLineDiaspora", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLineDiaspora", "data-order", "1"); } if (StringUtils.isNotBlank(organization.getFunkwhaleWebpage())) @@ -119,6 +121,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLineFunkwhaleImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLineFunkwhaleImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLineFunkwhaleLink", "href", organization.getFunkwhaleWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLineFunkwhale", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLineFunkwhale", "data-order", "1"); } if (StringUtils.isNotBlank(organization.getMastodonWebpage())) @@ -126,6 +130,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLineMastodonImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLineMastodonImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLineMastodonLink", "href", organization.getMastodonWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLineMastodon", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLineMastodon", "data-order", "1"); } if (StringUtils.isNotBlank(organization.getMobilizonWebpage())) @@ -133,6 +139,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLineMobilizonImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLineMobilizonImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLineMobilizonLink", "href", organization.getMobilizonWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLineMobilizon", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLineMobilizon", "data-order", "1"); } if (StringUtils.isNotBlank(organization.getPixelfedWebpage())) @@ -140,6 +148,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLinePixelfedImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLinePixelfedImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLinePixelfedLink", "href", organization.getPixelfedWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLinePixelfed", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLinePixelfed", "data-order", "1"); } if (StringUtils.isNotBlank(organization.getPeertubeWebpage())) @@ -147,6 +157,8 @@ public class SocialNetworksPage data.setAttribute("organizationListLine", index, "organizationListLinePeertubeImg", "class", ""); data.getIdData("organizationListLine", index, "organizationListLinePeertubeImg").getAttribute("class").setMode(DisplayMode.REPLACE); data.setAttribute("organizationListLine", index, "organizationListLinePeertubeLink", "href", organization.getPeertubeWebpage()); + data.setAttribute("organizationListLine", index, "organizationListLinePeertube", "data-search", "1"); + data.setAttribute("organizationListLine", index, "organizationListLinePeertube", "data-order", "1"); } index += 1; diff --git a/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml b/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml index 3e20533..be7fa6b 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml +++ b/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml @@ -14,9 +14,9 @@
- Tous - Diaspora* - Mastodon + Tous + Diaspora* + Mastodon
@@ -42,10 +42,18 @@ - - + + + + + + + + + + @@ -56,27 +64,30 @@ - - - - - - + + + + + +
Nom du membreURLMembreURL Réseaux sociaux
DiasporaFunkwhaleMastodonMobilizonPeertubePixelfed
n/aDiasporaFunkwhaleMastodonMobilizonPeertubePixelfed