imio.smartweb.core 1.2.19__py3-none-any.whl → 1.2.22__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- imio/smartweb/core/browser/static/icons/action-e-guichet.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-email.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-engagement.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-nous-contacter.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-nous-rejoindre.svg +2 -1
- imio/smartweb/core/browser/static/icons/action-organiser-un-evenement.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-signaler-un-probleme.svg +1 -1
- imio/smartweb/core/browser/static/icons/action-voir-plan.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-associations.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-avis-et-enquetes.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-cinema.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-commerce.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-concert.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-culture.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-demarches.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-enfance.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-enseignement.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-environnement-gestion-des-dechets.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-exposition.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-horaires.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-infos-travaux.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-mandataires.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-mobilite.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-mon-dossier.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-parc-de-stationnement.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-parcs-et-jardins.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-primes.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-sport-courir.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-sport-velo.svg +1 -1
- imio/smartweb/core/browser/static/icons/categorie-tourisme.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-academie-musique.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-centre-sportif.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-cpas.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-ecole-des-arts.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-ecole.svg +1 -1
- imio/smartweb/core/browser/static/icons/organisation-mobilite.svg +1 -1
- imio/smartweb/core/browser/static/icons/reseausocial-facebook.svg +1 -1
- imio/smartweb/core/browser/static/icons/reseausocial-twitter.svg +3 -13
- imio/smartweb/core/browser/static/icons/reseausocial-vimeo.svg +1 -1
- imio/smartweb/core/browser/static/icons/reseausocial-youtube.svg +1 -1
- imio/smartweb/core/browser/static/icons/vue-actualites.svg +1 -1
- imio/smartweb/core/browser/static/icons/vue-agenda.svg +1 -1
- imio/smartweb/core/browser/static/icons/vue-annuaire.svg +1 -1
- imio/smartweb/core/contents/sections/common_templates/table.pt +3 -3
- imio/smartweb/core/contents/sections/contact/utils.py +2 -150
- imio/smartweb/core/contents/sections/external_content/views.py +3 -3
- imio/smartweb/core/tests/test_rest.py +105 -3
- imio/smartweb/core/tests/test_section_contact.py +2 -2
- imio/smartweb/core/viewlets/configure.zcml +11 -11
- imio/smartweb/core/viewlets/ogp_tag_header.pt +18 -9
- imio/smartweb/core/viewlets/ogptags.py +136 -0
- imio/smartweb/core/webcomponents/build/js/363.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/54.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/647.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +2 -3
- imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +2 -3
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/METADATA +28 -1
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/RECORD +65 -65
- /imio.smartweb.core-1.2.19-py3.10-nspkg.pth → /imio.smartweb.core-1.2.22-py3.10-nspkg.pth +0 -0
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/WHEEL +0 -0
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.19.dist-info → imio.smartweb.core-1.2.22.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48.01 35.28"><path d="M33.07 17.16a3.83 3.83 0 1 0 0-7.66 3.83 3.83 0 0 0 0 7.66Zm5.3 3a13.459 13.459 0 0 0-10.6 0c-1.42.61-2.35.86-2.35 2.42v1.27c0 .55.43 1 .98 1.01h13.33c.55 0 .99-.46.99-1.01v-1.27c0-1.56-.92-1.81-2.35-2.42Z"/><path d="M44.17 35.28H3.84C1.72 35.28 0 33.56 0 31.44V3.84C0 1.72 1.72 0 3.84 0h40.33c2.08 0 3.81 1.7 3.84 3.78v27.67c0 2.12-1.72 3.84-3.84 3.84ZM3.84 2.01c-1.01 0-1.83.82-1.83 1.83v27.61c0 1.01.82 1.83 1.83 1.83h40.33c1.01 0 1.83-.82 1.83-1.83V3.8c-.01-.98-.84-1.79-1.83-1.79H3.84Z"/><path d="M12.18 12.34H10c-1.62 0-2.95 1.29-3 2.91h5.18v-2.91Zm0 4.21H7v2.92h5.18v-2.92Zm1.3 2.92v-2.92h4.86v2.92h-4.86Zm-1.3 1.3H7a2.997 2.997 0 0 0 3 2.91h2.18v-2.91Zm1.3 2.91v-2.91h4.86c-.05 1.62-1.38 2.92-3 2.91h-1.86Zm0-8.42v-2.92h1.86c1.62 0 2.95 1.29 3 2.92h-4.86Z" style="fill-rule:evenodd"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" viewBox="0 0 48.01 35.28"><path d="M33.07 17.16a3.83 3.83 0 1 0 0-7.66 3.83 3.83 0 0 0 0 7.66Zm5.3 3a13.459 13.459 0 0 0-10.6 0c-1.42.61-2.35.86-2.35 2.42v1.27c0 .55.43 1 .98 1.01h13.33c.55 0 .99-.46.99-1.01v-1.27c0-1.56-.92-1.81-2.35-2.42Z"/><path d="M44.17 35.28H3.84C1.72 35.28 0 33.56 0 31.44V3.84C0 1.72 1.72 0 3.84 0h40.33c2.08 0 3.81 1.7 3.84 3.78v27.67c0 2.12-1.72 3.84-3.84 3.84ZM3.84 2.01c-1.01 0-1.83.82-1.83 1.83v27.61c0 1.01.82 1.83 1.83 1.83h40.33c1.01 0 1.83-.82 1.83-1.83V3.8c-.01-.98-.84-1.79-1.83-1.79H3.84Z"/><path d="M12.18 12.34H10c-1.62 0-2.95 1.29-3 2.91h5.18v-2.91Zm0 4.21H7v2.92h5.18v-2.92Zm1.3 2.92v-2.92h4.86v2.92h-4.86Zm-1.3 1.3H7a2.997 2.997 0 0 0 3 2.91h2.18v-2.91Zm1.3 2.91v-2.91h4.86c-.05 1.62-1.38 2.92-3 2.91h-1.86Zm0-8.42v-2.92h1.86c1.62 0 2.95 1.29 3 2.92h-4.86Z" style="fill-rule:evenodd"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28.18 19.82"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M21.57,4.19a1.49,1.49,0,0,0-.92.78l-.95-.39a14.22,14.22,0,0,0-5.08-1.5,5.14,5.14,0,0,0-2.8,1.36H8.27C7.51,2.55,3.15,1,1.3.41L0,0V14.29H4.06l.26-.2a5.12,5.12,0,0,0,.59-.5l7.91,6.06.21.05a4.27,4.27,0,0,0,1,.12,2.32,2.32,0,0,0,1.49-.48l.1-.08,0,0,.24.14h.27a2.57,2.57,0,0,0,2.12-.86c.08-.1.14-.19.2-.28a2.58,2.58,0,0,0,1.82-.62,2,2,0,0,0,.4-.52,2.65,2.65,0,0,0,.91-.37A3,3,0,0,0,22.91,15a5.5,5.5,0,0,0,.82-.38l.16.45h4.29V1.74ZM6.18,5.11,3.91,11.7,3.65,12a1.58,1.58,0,0,1-.28.3H2V2.76A15,15,0,0,1,6.25,4.94l-.06.15Zm14.28,10L17.63,12l-1.48,1.35,2.64,2.89-.16,0-.31-.16-.68-.63a19,19,0,0,1-1.91-1.89l-1.61,1.19A19.82,19.82,0,0,0,16.29,17l.38.35a.63.63,0,0,1-.28.09l-.49-.33-2.37-2.51-1.45,1.37,1.76,1.87-.16,0L6,11.88,7.84,6.44h2a6.86,6.86,0,0,0-.93,1.27l-.07.2a2.25,2.25,0,0,0,.49,2.15,2.61,2.61,0,0,0,2.34.74A12.48,12.48,0,0,0,15,9.39c1.33,1.19,4.68,4.18,5.95,5.28A1.35,1.35,0,0,1,20.46,15.11Zm1.72-2c-1.6-1.4-6.39-5.67-6.44-5.72l-.57-.5-.64.4a12.49,12.49,0,0,1-3.25,1.52.59.59,0,0,1-.51-.13s-.06-.06,0-.2a16.3,16.3,0,0,1,2.15-2.33,4.48,4.48,0,0,1,1.74-1.09,13.13,13.13,0,0,1,4.3,1.34c.58.24,1.18.5,1.75.71L23,12.71A4.33,4.33,0,0,1,22.18,13.13Zm4-.09h-.89l-.2-.46L22.43,6.15V6l3.75-1.39Z"/></g></g></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" viewBox="0 0 28.18 19.82"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M21.57,4.19a1.49,1.49,0,0,0-.92.78l-.95-.39a14.22,14.22,0,0,0-5.08-1.5,5.14,5.14,0,0,0-2.8,1.36H8.27C7.51,2.55,3.15,1,1.3.41L0,0V14.29H4.06l.26-.2a5.12,5.12,0,0,0,.59-.5l7.91,6.06.21.05a4.27,4.27,0,0,0,1,.12,2.32,2.32,0,0,0,1.49-.48l.1-.08,0,0,.24.14h.27a2.57,2.57,0,0,0,2.12-.86c.08-.1.14-.19.2-.28a2.58,2.58,0,0,0,1.82-.62,2,2,0,0,0,.4-.52,2.65,2.65,0,0,0,.91-.37A3,3,0,0,0,22.91,15a5.5,5.5,0,0,0,.82-.38l.16.45h4.29V1.74ZM6.18,5.11,3.91,11.7,3.65,12a1.58,1.58,0,0,1-.28.3H2V2.76A15,15,0,0,1,6.25,4.94l-.06.15Zm14.28,10L17.63,12l-1.48,1.35,2.64,2.89-.16,0-.31-.16-.68-.63a19,19,0,0,1-1.91-1.89l-1.61,1.19A19.82,19.82,0,0,0,16.29,17l.38.35a.63.63,0,0,1-.28.09l-.49-.33-2.37-2.51-1.45,1.37,1.76,1.87-.16,0L6,11.88,7.84,6.44h2a6.86,6.86,0,0,0-.93,1.27l-.07.2a2.25,2.25,0,0,0,.49,2.15,2.61,2.61,0,0,0,2.34.74A12.48,12.48,0,0,0,15,9.39c1.33,1.19,4.68,4.18,5.95,5.28A1.35,1.35,0,0,1,20.46,15.11Zm1.72-2c-1.6-1.4-6.39-5.67-6.44-5.72l-.57-.5-.64.4a12.49,12.49,0,0,1-3.25,1.52.59.59,0,0,1-.51-.13s-.06-.06,0-.2a16.3,16.3,0,0,1,2.15-2.33,4.48,4.48,0,0,1,1.74-1.09,13.13,13.13,0,0,1,4.3,1.34c.58.24,1.18.5,1.75.71L23,12.71A4.33,4.33,0,0,1,22.18,13.13Zm4-.09h-.89l-.2-.46L22.43,6.15V6l3.75-1.39Z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 23.59v-3.6c-5.01-.26-9-4.42-9-9.49C2 5.26 6.26 1 11.5 1S21 5.26 21 10.5c0 4.95-3.44 9.93-8.57 12.4l-1.43.69zM11.5 3C7.36 3 4 6.36 4 10.5S7.36 18 11.5 18H13v2.3c3.64-2.3 6-6.08 6-9.8C19 6.36 15.64 3 11.5 3zm-1 11.5h2v2h-2zm2-1.5h-2c0-3.25 3-3 3-5 0-1.1-.9-2-2-2s-2 .9-2 2h-2c0-2.21 1.79-4 4-4s4 1.79 4 4c0 2.5-3 2.75-3 5z"/></svg>
|
@@ -1 +1,2 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none"
|
2
|
+
height="24" width="24"/></g><g><g/><g><circle cx="12" cy="4" r="2"/><path d="M15.89,8.11C15.5,7.72,14.83,7,13.53,7c-0.21,0-1.42,0-2.54,0C8.24,6.99,6,4.75,6,2H4c0,3.16,2.11,5.84,5,6.71V22h2v-6h2 v6h2V10.05L18.95,14l1.41-1.41L15.89,8.11z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zm-7 5h5v5h-5z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><path d="M18,11c0,0.67,0,1.33,0,2c1.2,0,2.76,0,4,0c0-0.67,0-1.33,0-2C20.76,11,19.2,11,18,11z"/><path d="M16,17.61c0.96,0.71,2.21,1.65,3.2,2.39c0.4-0.53,0.8-1.07,1.2-1.6c-0.99-0.74-2.24-1.68-3.2-2.4 C16.8,16.54,16.4,17.08,16,17.61z"/><path d="M20.4,5.6C20,5.07,19.6,4.53,19.2,4c-0.99,0.74-2.24,1.68-3.2,2.4c0.4,0.53,0.8,1.07,1.2,1.6 C18.16,7.28,19.41,6.35,20.4,5.6z"/><path d="M4,9c-1.1,0-2,0.9-2,2v2c0,1.1,0.9,2,2,2h1v4h2v-4h1l5,3V6L8,9H4z M9.03,10.71L11,9.53v4.94l-1.97-1.18L8.55,13H8H4v-2h4 h0.55L9.03,10.71z"/><path d="M15.5,12c0-1.33-0.58-2.53-1.5-3.35v6.69C14.92,14.53,15.5,13.33,15.5,12z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20.5 6c-2.61.7-5.67 1-8.5 1s-5.89-.3-8.5-1L3 8c1.86.5 4 .83 6 1v13h2v-6h2v6h2V9c2-.17 4.14-.5 6-1l-.5-2zM12 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15 4v7H5.17l-.59.59-.58.58V4h11m1-2H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm5 4h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2zm-2-1.46c-1.19.69-2 1.99-2 3.46s.81 2.77 2 3.46V18H4v-2.54c1.19-.69 2-1.99 2-3.46 0-1.48-.8-2.77-1.99-3.46L4 6h16v2.54zM11 15h2v2h-2zm0-4h2v2h-2zm0-4h2v2h-2z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg aria-labelledby="title" viewBox="0 0 45.47 39.41" xmlns="http://www.w3.org/2000/svg"><path d="M19.84.25c-.23.22-.55.99-2.66 6.53l-2.4 6.28-7.06-.03c-6.64-.03-7.07-.02-7.26.11-.62.4-.6 1.32.02 1.69.15.09.4.13.91.13s.7.03.7.09c0 .05.48 4.82 1.07 10.6.66 6.45 1.12 10.67 1.2 10.93a4.018 4.018 0 0 0 2.55 2.68c.47.16.53.16 16.07.16s15.61 0 16.07-.16a4.04 4.04 0 0 0 2.55-2.68c.08-.26.54-4.47 1.2-10.9.59-5.77 1.07-10.54 1.07-10.6 0-.09.1-.12.44-.12.53 0 .76-.11.99-.45.34-.5.16-1.12-.42-1.39l-.35-.17-6.67.03-6.67.03-2.13-6.17C28.33 4.72 27.6 2.61 26.85.5c-.18-.41-.91-.61-1.39-.36-.27.14-.47.5-.47.83 0 .13.92 2.89 2.04 6.14.68 1.97 1.36 3.95 2.04 5.92 0 .01-2.73.02-6.06.02s-6.06-.02-6.06-.04 1.02-2.7 2.26-5.94c1.24-3.24 2.26-5.99 2.26-6.11 0-.51-.5-.94-1.07-.94-.25 0-.37.05-.57.25m22 15.05c-.02.17-.51 4.88-1.08 10.47s-1.07 10.28-1.12 10.42c-.14.42-.71.97-1.19 1.15-.41.15-.53.16-15.48.16s-15.06 0-15.48-.16c-.47-.18-1.05-.74-1.19-1.17-.04-.14-.55-4.84-1.11-10.44-.35-3.49-.71-6.98-1.07-10.47l-.04-.27h37.81l-.04.31m-30.91 3.3c-.47.23-.45-.07-.48 7.05-.01 3.58 0 6.7.03 6.93.04.31.1.47.26.62.4.4 1.24.35 1.57-.1.16-.22.16-.23.16-7.05 0-5.55-.02-6.88-.1-7.08-.19-.44-.91-.62-1.44-.36m5.51 0c-.5.22-.48-.06-.48 7.36s0 7.07.39 7.35c.45.31 1.2.21 1.45-.2.15-.24.15-.44.15-7.15 0-6.13-.01-6.92-.12-7.07-.27-.38-.89-.51-1.4-.28m5.53 0c-.51.22-.48-.14-.48 7.37s-.03 7.2.54 7.43c.38.15.53.15.91 0 .58-.23.54.2.54-7.43s.03-7.15-.5-7.37a1.31 1.31 0 0 0-1.01 0m5.97 0c-.5.22-.48-.06-.48 7.36s0 7.07.39 7.35c.45.31 1.2.21 1.45-.2.15-.24.15-.44.15-7.15 0-6.13-.01-6.92-.12-7.07-.27-.38-.89-.51-1.4-.28m5.99 0c-.47.23-.45-.07-.47 7.05-.01 3.58 0 6.7.03 6.93.04.31.1.47.26.62.4.4 1.24.35 1.57-.1.16-.22.16-.23.16-7.05 0-5.55-.02-6.88-.1-7.08-.19-.44-.91-.62-1.44-.36"></path><title></title></svg>
|
1
|
+
<svg aria-labelledby="title" fill="000" viewBox="0 0 45.47 39.41" xmlns="http://www.w3.org/2000/svg"><path d="M19.84.25c-.23.22-.55.99-2.66 6.53l-2.4 6.28-7.06-.03c-6.64-.03-7.07-.02-7.26.11-.62.4-.6 1.32.02 1.69.15.09.4.13.91.13s.7.03.7.09c0 .05.48 4.82 1.07 10.6.66 6.45 1.12 10.67 1.2 10.93a4.018 4.018 0 0 0 2.55 2.68c.47.16.53.16 16.07.16s15.61 0 16.07-.16a4.04 4.04 0 0 0 2.55-2.68c.08-.26.54-4.47 1.2-10.9.59-5.77 1.07-10.54 1.07-10.6 0-.09.1-.12.44-.12.53 0 .76-.11.99-.45.34-.5.16-1.12-.42-1.39l-.35-.17-6.67.03-6.67.03-2.13-6.17C28.33 4.72 27.6 2.61 26.85.5c-.18-.41-.91-.61-1.39-.36-.27.14-.47.5-.47.83 0 .13.92 2.89 2.04 6.14.68 1.97 1.36 3.95 2.04 5.92 0 .01-2.73.02-6.06.02s-6.06-.02-6.06-.04 1.02-2.7 2.26-5.94c1.24-3.24 2.26-5.99 2.26-6.11 0-.51-.5-.94-1.07-.94-.25 0-.37.05-.57.25m22 15.05c-.02.17-.51 4.88-1.08 10.47s-1.07 10.28-1.12 10.42c-.14.42-.71.97-1.19 1.15-.41.15-.53.16-15.48.16s-15.06 0-15.48-.16c-.47-.18-1.05-.74-1.19-1.17-.04-.14-.55-4.84-1.11-10.44-.35-3.49-.71-6.98-1.07-10.47l-.04-.27h37.81l-.04.31m-30.91 3.3c-.47.23-.45-.07-.48 7.05-.01 3.58 0 6.7.03 6.93.04.31.1.47.26.62.4.4 1.24.35 1.57-.1.16-.22.16-.23.16-7.05 0-5.55-.02-6.88-.1-7.08-.19-.44-.91-.62-1.44-.36m5.51 0c-.5.22-.48-.06-.48 7.36s0 7.07.39 7.35c.45.31 1.2.21 1.45-.2.15-.24.15-.44.15-7.15 0-6.13-.01-6.92-.12-7.07-.27-.38-.89-.51-1.4-.28m5.53 0c-.51.22-.48-.14-.48 7.37s-.03 7.2.54 7.43c.38.15.53.15.91 0 .58-.23.54.2.54-7.43s.03-7.15-.5-7.37a1.31 1.31 0 0 0-1.01 0m5.97 0c-.5.22-.48-.06-.48 7.36s0 7.07.39 7.35c.45.31 1.2.21 1.45-.2.15-.24.15-.44.15-7.15 0-6.13-.01-6.92-.12-7.07-.27-.38-.89-.51-1.4-.28m5.99 0c-.47.23-.45-.07-.47 7.05-.01 3.58 0 6.7.03 6.93.04.31.1.47.26.62.4.4 1.24.35 1.57-.1.16-.22.16-.23.16-7.05 0-5.55-.02-6.88-.1-7.08-.19-.44-.91-.62-1.44-.36"></path><title></title></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M9.22,7C9.7,6.47,10,5.77,10,5c0-1.66-1.34-3-3-3S4,3.34,4,5c0,0.77,0.3,1.47,0.78,2H9.22z"/><path d="M16,2c-2.21,0-4,1.79-4,4v12c0,1.1-0.9,2-2,2s-2-0.9-2-2h1l1-10H4l1,10h1c0,2.21,1.79,4,4,4s4-1.79,4-4V6c0-1.1,0.9-2,2-2 s2,0.9,2,2v16h2V6C20,3.79,18.21,2,16,2z M7.19,16H6.81l-0.6-6h1.58L7.19,16z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M22,11V9L12,2L2,9v2h2v9H2v2h20v-2h-2v-9H22z M18,20H6V9h12V20z"/><polygon points="10,14 12,17 14,14 14,18 16,18 16,11 14,11 12,14 10,11 8,11 8,18 10,18"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg aria-labelledby="title" viewBox="0 0 23.5 19.23" xmlns="http://www.w3.org/2000/svg"><path d="M21.36 0H2.14C.96 0 0 .96 0 2.14v12.81c0 1.18.96 2.14 2.14 2.14h5.34v2.14h8.55v-2.14h5.34c1.18 0 2.13-.96 2.13-2.14V2.14C23.51.97 22.55 0 21.37 0Zm0 14.95H2.14V2.14h19.22v12.81Zm-2.14-9.61H7.48v2.14h11.75V5.34Zm0 4.27H7.48v2.14h11.75V9.61ZM6.41 5.34H4.27v2.14h2.14V5.34Zm0 4.27H4.27v2.14h2.14V9.61Z"></path><title></title></svg>
|
1
|
+
<svg aria-labelledby="title" fill="#000" viewBox="0 0 23.5 19.23" xmlns="http://www.w3.org/2000/svg"><path d="M21.36 0H2.14C.96 0 0 .96 0 2.14v12.81c0 1.18.96 2.14 2.14 2.14h5.34v2.14h8.55v-2.14h5.34c1.18 0 2.13-.96 2.13-2.14V2.14C23.51.97 22.55 0 21.37 0Zm0 14.95H2.14V2.14h19.22v12.81Zm-2.14-9.61H7.48v2.14h11.75V5.34Zm0 4.27H7.48v2.14h11.75V9.61ZM6.41 5.34H4.27v2.14h2.14V5.34Zm0 4.27H4.27v2.14h2.14V9.61Z"></path><title></title></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><circle cx="14.5" cy="10.5" r="1.25"/><circle cx="9.5" cy="10.5" r="1.25"/><path d="M22.94 11.34c-.25-1.51-1.36-2.74-2.81-3.17-.53-1.12-1.28-2.1-2.19-2.91C16.36 3.85 14.28 3 12 3s-4.36.85-5.94 2.26c-.92.81-1.67 1.8-2.19 2.91-1.45.43-2.56 1.65-2.81 3.17-.04.21-.06.43-.06.66 0 .23.02.45.06.66.25 1.51 1.36 2.74 2.81 3.17.52 1.11 1.27 2.09 2.17 2.89C7.62 20.14 9.71 21 12 21s4.38-.86 5.97-2.28c.9-.8 1.65-1.79 2.17-2.89 1.44-.43 2.55-1.65 2.8-3.17.04-.21.06-.43.06-.66 0-.23-.02-.45-.06-.66zM19 14c-.1 0-.19-.02-.29-.03-.2.67-.49 1.29-.86 1.86C16.6 17.74 14.45 19 12 19s-4.6-1.26-5.85-3.17c-.37-.57-.66-1.19-.86-1.86-.1.01-.19.03-.29.03-1.1 0-2-.9-2-2s.9-2 2-2c.1 0 .19.02.29.03.2-.67.49-1.29.86-1.86C7.4 6.26 9.55 5 12 5s4.6 1.26 5.85 3.17c.37.57.66 1.19.86 1.86.1-.01.19-.03.29-.03 1.1 0 2 .9 2 2s-.9 2-2 2zm-7 3c2.01 0 3.74-1.23 4.5-3h-9c.76 1.77 2.49 3 4.5 3z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M9,4v1.38c-0.83-0.33-1.72-0.5-2.61-0.5c-1.79,0-3.58,0.68-4.95,2.05l3.33,3.33h1.11v1.11c0.86,0.86,1.98,1.31,3.11,1.36 V15H6v3c0,1.1,0.9,2,2,2h10c1.66,0,3-1.34,3-3V4H9z M7.89,10.41V8.26H5.61L4.57,7.22C5.14,7,5.76,6.88,6.39,6.88 c1.34,0,2.59,0.52,3.54,1.46l1.41,1.41l-0.2,0.2c-0.51,0.51-1.19,0.8-1.92,0.8C8.75,10.75,8.29,10.63,7.89,10.41z M19,17 c0,0.55-0.45,1-1,1s-1-0.45-1-1v-2h-6v-2.59c0.57-0.23,1.1-0.57,1.56-1.03l0.2-0.2L15.59,14H17v-1.41l-6-5.97V6h8V17z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M6.5 10h-2v7h2v-7zm6 0h-2v7h2v-7zm8.5 9H2v2h19v-2zm-2.5-9h-2v7h2v-7zm-7-6.74L16.71 6H6.29l5.21-2.74m0-2.26L2 6v2h19V6l-9.5-5z"/></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20"
|
1
|
+
<svg width="20" height="20" fill="#000" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M10 0C4.5 0 0 4.5 0 10C0 15.5 4.5 20 10 20C15.5 20 20 15.5 20 10C20 4.5 15.5 0 10 0ZM14.2 14.2L9 11V5H10.5V10.2L15 12.9L14.2 14.2Z"/>
|
3
3
|
</svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 34.12"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M18,6.61l3.59,11.86,3.21,10.6H25a3,3,0,0,1,3,3v2H0v-2a3,3,0,0,1,3-3h.23l1.25-4.55,3.29-12L11.21,0H16ZM2,32.12H26v0a1,1,0,0,0-1-1H3a1,1,0,0,0-1,1Zm3.36-3.25H22.61l-.94-3.09H6.2Zm1.39-5.09H21.07l-1.22-4h-12Zm1.66-6H19.25l-1.21-4H9.5Zm1.63-6h7.4L16.26,7.9H11.11ZM11.66,5.9h4L14.48,2H12.73Z"/></g></g></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" viewBox="0 0 28 34.12"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M18,6.61l3.59,11.86,3.21,10.6H25a3,3,0,0,1,3,3v2H0v-2a3,3,0,0,1,3-3h.23l1.25-4.55,3.29-12L11.21,0H16ZM2,32.12H26v0a1,1,0,0,0-1-1H3a1,1,0,0,0-1,1Zm3.36-3.25H22.61l-.94-3.09H6.2Zm1.39-5.09H21.07l-1.22-4h-12Zm1.66-6H19.25l-1.21-4H9.5Zm1.63-6h7.4L16.26,7.9H11.11ZM11.66,5.9h4L14.48,2H12.73Z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24" y="0"/></g><g><g><rect height="1.5" width="4" x="14" y="12"/><rect height="1.5" width="4" x="14" y="15"/><path d="M20,7h-5V4c0-1.1-0.9-2-2-2h-2C9.9,2,9,2.9,9,4v3H4C2.9,7,2,7.9,2,9v11c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V9 C22,7.9,21.1,7,20,7z M11,7V4h2v3v2h-2V7z M20,20H4V9h5c0,1.1,0.9,2,2,2h2c1.1,0,2-0.9,2-2h5V20z"/><circle cx="9" cy="13.5" r="1.5"/><path d="M11.08,16.18C10.44,15.9,9.74,15.75,9,15.75s-1.44,0.15-2.08,0.43C6.36,16.42,6,16.96,6,17.57V18h6v-0.43 C12,16.96,11.64,16.42,11.08,16.18z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2c-4.42 0-8 .5-8 4v10c0 .88.39 1.67 1 2.22V20c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-.55 1-1.34 1-2.22V6c0-3.5-3.58-4-8-4zm5.66 2.99H6.34C6.89 4.46 8.31 4 12 4s5.11.46 5.66.99zm.34 2V10H6V6.99h12zm-.34 9.74l-.29.27H6.63l-.29-.27C6.21 16.62 6 16.37 6 16v-4h12v4c0 .37-.21.62-.34.73z"/><circle cx="8.5" cy="14.5" r="1.5"/><circle cx="15.5" cy="14.5" r="1.5"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28.18 36.64"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M18,36.64l-18-3v-26L21,0V13L18,16.06ZM2,31.91l14,2.36v-19l3-3.06V2.84L2,9Z"/><path d="M28.18,33.75H19.35V15.23l3.06-3.06V7.26h5.77Z"/></g></g></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" viewBox="0 0 28.18 36.64"><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path d="M18,36.64l-18-3v-26L21,0V13L18,16.06ZM2,31.91l14,2.36v-19l3-3.06V2.84L2,9Z"/><path d="M28.18,33.75H19.35V15.23l3.06-3.06V7.26h5.77Z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><g id="categorie-parc-de-stationnement"><path d="M38,16.75A13.33,13.33,0,0,0,24.65,5H13a3,3,0,0,0-3,3V40a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3v-9H25a13.06,13.06,0,0,0,13-14.3ZM25.4,23.05H19A1,1,0,0,1,18,22V14A1,1,0,0,1,19,13h6.4a5.05,5.05,0,0,1,0,10.1Z"/></g></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" viewBox="0 0 48 48"><g id="categorie-parc-de-stationnement"><path d="M38,16.75A13.33,13.33,0,0,0,24.65,5H13a3,3,0,0,0-3,3V40a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3v-9H25a13.06,13.06,0,0,0,13-14.3ZM25.4,23.05H19A1,1,0,0,1,18,22V14A1,1,0,0,1,19,13h6.4a5.05,5.05,0,0,1,0,10.1Z"/></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><circle cx="4.5" cy="9.5" r="1.5"/><path d="M22.17 9.17c0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H6v-3h1v-4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v4h1v5h16v-2h-3v-3.88c3.47-.41 6.17-3.36 6.17-6.95zm-7 5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000"><rect fill="none" height="24" width="24"/><g><path d="M15,10c0-0.55,0.45-1,1-1s1,0.45,1,1c0,0.55-0.45,1-1,1S15,10.55,15,10z M8,9h5V7H8V9z M22,7.5v6.97l-2.82,0.94L17.5,21 L12,21v-2h-2v2l-5.5,0C4.5,21,2,12.54,2,9.5S4.46,4,7.5,4l5,0c0.91-1.21,2.36-2,4-2C17.33,2,18,2.67,18,3.5 c0,0.21-0.04,0.4-0.12,0.58c-0.14,0.34-0.26,0.73-0.32,1.15l2.27,2.27H22z M20,9.5h-1L15.5,6c0-0.65,0.09-1.29,0.26-1.91 C14.79,4.34,14,5.06,13.67,6L7.5,6C5.57,6,4,7.57,4,9.5c0,1.88,1.22,6.65,2.01,9.5L8,19v-2h6v2l2.01,0l1.55-5.15L20,13.03V9.5z"/></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z"/></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg aria-labelledby="title" class="plone-icon" fill="
|
1
|
+
<svg aria-labelledby="title" class="plone-icon" fill="#000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M15.5 5.5C16.6 5.5 17.5 4.6 17.5 3.5C17.5 2.4 16.6 1.5 15.5 1.5C14.4 1.5 13.5 2.4 13.5 3.5C13.5 4.6 14.4 5.5 15.5 5.5ZM5 12C2.2 12 0 14.2 0 17C0 19.8 2.2 22 5 22C7.8 22 10 19.8 10 17C10 14.2 7.8 12 5 12ZM5 20.5C3.1 20.5 1.5 18.9 1.5 17C1.5 15.1 3.1 13.5 5 13.5C6.9 13.5 8.5 15.1 8.5 17C8.5 18.9 6.9 20.5 5 20.5ZM10.8 10.5L13.2 8.1L14 8.9C15.3 10.2 17 11 19.1 11V9C17.6 9 16.4 8.4 15.5 7.5L13.6 5.6C13.1 5.2 12.6 5 12 5C11.4 5 10.9 5.2 10.6 5.6L7.8 8.4C7.4 8.8 7.2 9.3 7.2 9.8C7.2 10.4 7.4 10.9 7.8 11.2L11 14V19H13V12.8L10.8 10.5ZM19 12C16.2 12 14 14.2 14 17C14 19.8 16.2 22 19 22C21.8 22 24 19.8 24 17C24 14.2 21.8 12 19 12ZM19 20.5C17.1 20.5 15.5 18.9 15.5 17C15.5 15.1 17.1 13.5 19 13.5C20.9 13.5 22.5 15.1 22.5 17C22.5 18.9 20.9 20.5 19 20.5Z"></path>
|
3
3
|
<title></title></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg aria-labelledby="title" class="plone-icon"
|
1
|
+
<svg aria-labelledby="title" fill="#000" class="plone-icon" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M20.5 3L20.34 3.03L15 5.1L9 3L3.36 4.9C3.15 4.97 3 5.15 3 5.38V20.5C3 20.78 3.22 21 3.5 21L3.66 20.97L9 18.9L15 21L20.64 19.1C20.85 19.03 21 18.85 21 18.62V3.5C21 3.22 20.78 3 20.5 3ZM15 19L9 16.89V5L15 7.11V19Z"></path>
|
3
3
|
<title></title></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6zm-2 16c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M14.27,6C13.72,6.95,14.05,8.18,15,8.73c0.95,0.55,2.18,0.22,2.73-0.73c0.55-0.95,0.22-2.18-0.73-2.73 C16.05,4.72,14.82,5.05,14.27,6z"/><path d="M15.84,10.41c0,0-1.63-0.94-2.6-1.5c-2.38-1.38-3.2-4.44-1.82-6.82l-1.73-1C8.1,3.83,8.6,7.21,10.66,9.4l-5.15,8.92 l1.73,1l1.5-2.6l1.73,1l-3,5.2l1.73,1l6.29-10.89c1.14,1.55,1.33,3.69,0.31,5.46l1.73,1C19.13,16.74,18.81,12.91,15.84,10.41z"/><path d="M12.75,3.8c0.72,0.41,1.63,0.17,2.05-0.55c0.41-0.72,0.17-1.63-0.55-2.05c-0.72-0.41-1.63-0.17-2.05,0.55 C11.79,2.47,12.03,3.39,12.75,3.8z"/></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"><g><rect fill="none" height="24" width="24"/></g><g><g><g><g><path d="M16,13c3.09-2.81,6-5.44,6-7.7C22,3.45,20.55,2,18.7,2c-1.04,0-2.05,0.49-2.7,1.25C15.34,2.49,14.34,2,13.3,2 C11.45,2,10,3.45,10,5.3C10,7.56,12.91,10.19,16,13z M13.3,4c0.44,0,0.89,0.21,1.18,0.55L16,6.34l1.52-1.79 C17.81,4.21,18.26,4,18.7,4C19.44,4,20,4.56,20,5.3c0,1.12-2.04,3.17-4,4.99c-1.96-1.82-4-3.88-4-4.99C12,4.56,12.56,4,13.3,4z"/><path d="M19,16h-2c0-1.2-0.75-2.28-1.87-2.7L8.97,11H1v11h6v-1.44l7,1.94l8-2.5v-1C22,17.34,20.66,16,19,16z M3,20v-7h2v7H3z M13.97,20.41L7,18.48V13h1.61l5.82,2.17C14.77,15.3,15,15.63,15,16c0,0-1.99-0.05-2.3-0.15l-2.38-0.79l-0.63,1.9l2.38,0.79 c0.51,0.17,1.04,0.26,1.58,0.26H19c0.39,0,0.74,0.23,0.9,0.56L13.97,20.41z"/></g></g></g></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z"/><circle cx="6.5" cy="11.5" r="1.5"/><circle cx="9.5" cy="7.5" r="1.5"/><circle cx="14.5" cy="7.5" r="1.5"/><circle cx="17.5" cy="11.5" r="1.5"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" width="24" height="24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 3 1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg aria-labelledby="title" class="plone-icon"
|
1
|
+
<svg aria-labelledby="title" fill="#000" class="plone-icon" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5H6.5C5.84 5 5.29 5.42 5.08 6.01L3 12V20C3 20.55 3.45 21 4 21H5C5.55 21 6 20.55 6 20V19H18V20C18 20.55 18.45 21 19 21H20C20.55 21 21 20.55 21 20V12L18.92 6.01ZM6.5 16C5.67 16 5 15.33 5 14.5C5 13.67 5.67 13 6.5 13C7.33 13 8 13.67 8 14.5C8 15.33 7.33 16 6.5 16ZM17.5 16C16.67 16 16 15.33 16 14.5C16 13.67 16.67 13 17.5 13C18.33 13 19 13.67 19 14.5C19 15.33 18.33 16 17.5 16ZM5 11L6.5 6.5H17.5L19 11H5Z"></path>
|
3
3
|
<title></title></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" data-name="Calque 2" viewBox="0 0 2048 2035.56"><path d="M1184 2035.56V1320h238.6l45.4-296h-284V831.91c0-80.98 39.67-159.91 166.87-159.91H1480V420c-78.12-13.33-154.53-20-229.22-20C1016.88 400 864 541.76 864 798.4V1024H604v296h260v715.56C374.46 1958.74 0 1535.11 0 1024 0 458.46 458.46 0 1024 0s1024 458.46 1024 1024c0 511.11-374.46 934.74-864 1011.56Z" data-name="Calque 1"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" data-name="Calque 2" viewBox="0 0 2048 2035.56"><path d="M1184 2035.56V1320h238.6l45.4-296h-284V831.91c0-80.98 39.67-159.91 166.87-159.91H1480V420c-78.12-13.33-154.53-20-229.22-20C1016.88 400 864 541.76 864 798.4V1024H604v296h260v715.56C374.46 1958.74 0 1535.11 0 1024 0 458.46 458.46 0 1024 0s1024 458.46 1024 1024c0 511.11-374.46 934.74-864 1011.56Z" data-name="Calque 1"/></svg>
|
@@ -1,13 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
viewBox="0 0 248 204" style="enable-background:new 0 0 248 204;" xml:space="preserve">
|
5
|
-
<g id="Logo_1_">
|
6
|
-
<path id="white_background" d="M221.95,51.29c0.15,2.17,0.15,4.34,0.15,6.53c0,66.73-50.8,143.69-143.69,143.69v-0.04
|
7
|
-
C50.97,201.51,24.1,193.65,1,178.83c3.99,0.48,8,0.72,12.02,0.73c22.74,0.02,44.83-7.61,62.72-21.66
|
8
|
-
c-21.61-0.41-40.56-14.5-47.18-35.07c7.57,1.46,15.37,1.16,22.8-0.87C27.8,117.2,10.85,96.5,10.85,72.46c0-0.22,0-0.43,0-0.64
|
9
|
-
c7.02,3.91,14.88,6.08,22.92,6.32C11.58,63.31,4.74,33.79,18.14,10.71c25.64,31.55,63.47,50.73,104.08,52.76
|
10
|
-
c-4.07-17.54,1.49-35.92,14.61-48.25c20.34-19.12,52.33-18.14,71.45,2.19c11.31-2.23,22.15-6.38,32.07-12.26
|
11
|
-
c-3.77,11.69-11.66,21.62-22.2,27.93c10.01-1.18,19.79-3.86,29-7.95C240.37,35.29,231.83,44.14,221.95,51.29z"/>
|
12
|
-
</g>
|
13
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#000" class="bi bi-twitter-x" viewBox="0 0 16 16">
|
2
|
+
<path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865l8.875 11.633Z"/>
|
3
|
+
</svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg aria-labelledby="title" baseProfile="tiny-ps" class="plone-icon" height="120" version="1.2" viewBox="0 0 120 120" width="120" xmlns="http://www.w3.org/2000/svg">
|
1
|
+
<svg aria-labelledby="title" fill="#000" baseProfile="tiny-ps" class="plone-icon" height="120" version="1.2" viewBox="0 0 120 120" width="120" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M109.94 37.12C109.49 46.91 102.69 60.32 89.55 77.34C75.95 95.11 64.45 104 55.04 104C49.22 104 44.29 98.59 40.26 87.76C37.57 77.84 34.88 67.91 32.19 57.99C29.2 47.17 25.99 41.75 22.56 41.75C21.81 41.75 19.19 43.34 14.71 46.49L10.01 40.39C14.94 36.03 19.81 31.67 24.6 27.3C31.18 21.58 36.12 18.57 39.41 18.27C47.19 17.52 51.98 22.87 53.78 34.32C55.72 46.68 57.06 54.37 57.82 57.38C60.06 67.63 62.53 72.75 65.23 72.75C67.32 72.75 70.46 69.43 74.65 62.77C78.84 56.12 81.08 51.06 81.39 47.59C81.98 41.84 79.74 38.97 74.65 38.97C72.26 38.97 69.79 39.52 67.25 40.62C72.17 24.42 81.56 16.56 95.41 17.01C105.68 17.31 110.53 24.01 109.94 37.12Z"></path>
|
3
3
|
</svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" data-name="Calque 2" viewBox="0 0 756.99 533.33"><path d="M741.17 83.28c-8.71-32.78-34.35-58.6-66.93-67.36C615.21 0 378.49 0 378.49 0S141.77 0 82.74 15.92C50.17 24.68 24.52 50.5 15.82 83.28 0 142.7 0 266.67 0 266.67s0 123.97 15.82 183.39c8.7 32.78 34.35 58.59 66.93 67.36 59.03 15.92 295.75 15.92 295.75 15.92s236.72 0 295.75-15.92c32.57-8.76 58.22-34.58 66.93-67.35C757 390.64 757 266.68 757 266.68s0-123.97-15.82-183.39Zm-440.1 295.94V154.11l197.85 112.56-197.85 112.55Z" data-name="Calque 1"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="#000" data-name="Calque 2" viewBox="0 0 756.99 533.33"><path d="M741.17 83.28c-8.71-32.78-34.35-58.6-66.93-67.36C615.21 0 378.49 0 378.49 0S141.77 0 82.74 15.92C50.17 24.68 24.52 50.5 15.82 83.28 0 142.7 0 266.67 0 266.67s0 123.97 15.82 183.39c8.7 32.78 34.35 58.59 66.93 67.36 59.03 15.92 295.75 15.92 295.75 15.92s236.72 0 295.75-15.92c32.57-8.76 58.22-34.58 66.93-67.35C757 390.64 757 266.68 757 266.68s0-123.97-15.82-183.39Zm-440.1 295.94V154.11l197.85 112.56-197.85 112.55Z" data-name="Calque 1"/></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M16,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V8L16,3z M19,19H5V5h10v4h4V19z M7,17h10v-2H7V17z M12,7H7 v2h5V7z M7,13h10v-2H7V13z"/></g></svg>
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"/></svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg aria-labelledby="title" class="plone-icon" fill="
|
1
|
+
<svg aria-labelledby="title" class="plone-icon" fill="#000" height="24" viewBox="0 0 20 24" width="20" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<path d="M18 0H2V2H18V0ZM2 24H18V22H2V24ZM18 4H2C0.9 4 0 4.9 0 6V18C0 19.1 0.9 20 2 20H18C19.1 20 20 19.1 20 18V6C20 4.9 19.1 4 18 4ZM10 6.75C11.24 6.75 12.25 7.76 12.25 9C12.25 10.24 11.24 11.25 10 11.25C8.76 11.25 7.75 10.24 7.75 9C7.75 7.76 8.76 6.75 10 6.75ZM15 17H5V15.5C5 13.83 8.33 13 10 13C11.67 13 15 13.83 15 15.5V17Z"></path>
|
3
3
|
<title></title></svg>
|
@@ -61,14 +61,14 @@
|
|
61
61
|
href item/url;
|
62
62
|
target python:'_blank' if (open_in_new_tab and not can_edit_sections) else '';">
|
63
63
|
<tal:if tal:condition="show_lead_image">
|
64
|
-
<div class="image d-block w-100"
|
64
|
+
<div class="image d-block is-icon w-100"
|
65
65
|
tal:condition="item_has_icon">
|
66
66
|
<tal:icon tal:replace="structure python:smartweb_icons.tag(item['icon'])" />
|
67
67
|
</div>
|
68
|
-
<div class="image d-block w-100"
|
68
|
+
<div class="image d-block is-image w-100"
|
69
69
|
tal:condition="python: item_has_image and not item_has_icon"
|
70
70
|
tal:attributes="style string:background-image:url(${item/image});
|
71
|
-
class python:'image d-block w-100 {}'.format('bad_scale' if item.get('bad_scale') else '')">
|
71
|
+
class python:'image d-block is-image w-100 {}'.format('bad_scale' if item.get('bad_scale') else '')">
|
72
72
|
<span tal:condition="python:not view.is_anonymous and item.get('bad_scale')"
|
73
73
|
i18n:translate="">Bad scale</span>
|
74
74
|
</div>
|
@@ -3,6 +3,7 @@
|
|
3
3
|
from datetime import date, datetime
|
4
4
|
from datetime import timedelta
|
5
5
|
from decimal import Decimal
|
6
|
+
from imio.smartweb.common.contact_utils import ContactProperties as ContactSchedule
|
6
7
|
from imio.smartweb.common.utils import rich_description
|
7
8
|
from imio.smartweb.core.utils import batch_results
|
8
9
|
from imio.smartweb.core.utils import get_json
|
@@ -15,7 +16,7 @@ from zope.i18nmessageid import MessageFactory
|
|
15
16
|
import json
|
16
17
|
|
17
18
|
|
18
|
-
class ContactProperties:
|
19
|
+
class ContactProperties(ContactSchedule):
|
19
20
|
def __init__(self, json_dict, section):
|
20
21
|
self.contact = json_dict
|
21
22
|
self.context = section
|
@@ -94,18 +95,6 @@ class ContactProperties:
|
|
94
95
|
results.append(dict_item)
|
95
96
|
return batch_results(results, nb_results_by_batch)
|
96
97
|
|
97
|
-
@property
|
98
|
-
def days(self):
|
99
|
-
return (
|
100
|
-
("monday", _("Monday")),
|
101
|
-
("tuesday", _("Tuesday")),
|
102
|
-
("wednesday", _("Wednesday")),
|
103
|
-
("thursday", _("Thursday")),
|
104
|
-
("friday", _("Friday")),
|
105
|
-
("saturday", _("Saturday")),
|
106
|
-
("sunday", _("Sunday")),
|
107
|
-
)
|
108
|
-
|
109
98
|
def get_itinerary_link(self):
|
110
99
|
address_parts = [
|
111
100
|
self.contact.get("street"),
|
@@ -126,79 +115,6 @@ class ContactProperties:
|
|
126
115
|
url_type_label = url_type_id[0].upper() + url_type_id[1:]
|
127
116
|
return translate(_(url_type_label), target_language=current_lang)
|
128
117
|
|
129
|
-
def get_opening_informations(self, a_date=None):
|
130
|
-
current_date = a_date or date.today()
|
131
|
-
schedule = self.contact.get("schedule")
|
132
|
-
multi_schedule = self.contact.get("multi_schedule")
|
133
|
-
exceptional_closure = self.contact.get("exceptional_closure")
|
134
|
-
week_day = self.days[current_date.weekday()][0]
|
135
|
-
day_schedule = schedule[week_day]
|
136
|
-
for schedule_info in multi_schedule:
|
137
|
-
if schedule_info.get("dates") == []:
|
138
|
-
continue
|
139
|
-
for daterange in schedule_info.get("dates"):
|
140
|
-
min_date = datetime.strptime(
|
141
|
-
daterange.get("start_date"), "%Y-%m-%d"
|
142
|
-
).date()
|
143
|
-
max_date = datetime.strptime(
|
144
|
-
daterange.get("end_date"), "%Y-%m-%d"
|
145
|
-
).date()
|
146
|
-
if not (min_date < current_date < max_date):
|
147
|
-
week_day = week_day # Fix coverage issue with continue.
|
148
|
-
continue
|
149
|
-
day_schedule = schedule_info.get("schedule")[week_day]
|
150
|
-
|
151
|
-
for exceptional_closure_info in exceptional_closure:
|
152
|
-
exceptional_closure_date = datetime.strptime(
|
153
|
-
exceptional_closure_info.get("date"), "%Y-%m-%d"
|
154
|
-
).date()
|
155
|
-
if not current_date == exceptional_closure_date:
|
156
|
-
continue
|
157
|
-
for k, v in day_schedule.items():
|
158
|
-
day_schedule[k] = ""
|
159
|
-
if k == "comment":
|
160
|
-
day_schedule[k] = exceptional_closure_info.get("title")
|
161
|
-
# sample : {'afternoonend': '16:00', 'afternoonstart': '14:00', 'comment': '', 'morningend': '14:00', 'morningstart': '09:00'}
|
162
|
-
return day_schedule
|
163
|
-
|
164
|
-
def get_week_days(self):
|
165
|
-
"""Returns a list of Messages for the weekday names."""
|
166
|
-
PLMF = MessageFactory("plonelocales")
|
167
|
-
ts = api.portal.get_tool("translation_service")
|
168
|
-
weekdays = []
|
169
|
-
now = date.today()
|
170
|
-
for i in range(0, 7):
|
171
|
-
ref_date = now + timedelta(days=i)
|
172
|
-
# weekday 0 == monday in python
|
173
|
-
# ts.day_msgid 0 = sunday in plone
|
174
|
-
ref_date_tsweekday = (ref_date.weekday() + 1) % 7
|
175
|
-
weekdays.append(
|
176
|
-
{
|
177
|
-
PLMF(
|
178
|
-
ts.day_msgid(ref_date_tsweekday, format="s"),
|
179
|
-
default=ts.weekday_english(ref_date_tsweekday, format="a"),
|
180
|
-
): self.get_schedule_for_date(ref_date)
|
181
|
-
}
|
182
|
-
)
|
183
|
-
return weekdays
|
184
|
-
|
185
|
-
def get_schedule_for_date(self, a_date):
|
186
|
-
return self.get_opening_informations(a_date)
|
187
|
-
|
188
|
-
def get_schedule_for_today(self, schedule):
|
189
|
-
return get_schedule_for_today(schedule)
|
190
|
-
|
191
|
-
def formatted_schedule(self, schedule):
|
192
|
-
return formatted_schedule(schedule)
|
193
|
-
|
194
|
-
def is_empty_schedule(self):
|
195
|
-
schedule = self.contact.get("schedule") or {}
|
196
|
-
for day in schedule.values():
|
197
|
-
for value in day.values():
|
198
|
-
if value:
|
199
|
-
return False
|
200
|
-
return True
|
201
|
-
|
202
118
|
def formatted_address(self):
|
203
119
|
street_parts = [
|
204
120
|
self.contact.get("street"),
|
@@ -219,67 +135,3 @@ class ContactProperties:
|
|
219
135
|
if not (street or entity or country):
|
220
136
|
return None
|
221
137
|
return {"street": street, "entity": entity, "country": country}
|
222
|
-
|
223
|
-
|
224
|
-
def formatted_schedule(schedule):
|
225
|
-
# opening = {'afternoonend': '', 'afternoonstart': '', 'comment': '', 'morningend': '12:00', 'morningstart': '08:30'}
|
226
|
-
current_lang = api.portal.get_current_language()[:2]
|
227
|
-
morningstart = schedule.get("morningstart")
|
228
|
-
morningend = schedule.get("morningend")
|
229
|
-
afternoonstart = schedule.get("afternoonstart")
|
230
|
-
afternoonend = schedule.get("afternoonend")
|
231
|
-
comment = schedule.get("comment")
|
232
|
-
str_opening = ""
|
233
|
-
morning = False
|
234
|
-
if morningend:
|
235
|
-
morning = True
|
236
|
-
str_opening = "{} - {}".format(morningstart, morningend)
|
237
|
-
if morning is True and afternoonstart:
|
238
|
-
str_opening += " | {} - {}".format(afternoonstart, afternoonend)
|
239
|
-
elif morning is False and afternoonstart:
|
240
|
-
str_opening = "{} - {}".format(afternoonstart, afternoonend)
|
241
|
-
elif not morningend and not afternoonstart:
|
242
|
-
str_opening = "{} - {}".format(morningstart, afternoonend)
|
243
|
-
if not morningstart and not morningend and not afternoonstart and not afternoonend:
|
244
|
-
str_opening = translate(_("Closed"), target_language=current_lang)
|
245
|
-
return "{} ({})".format(str_opening, comment) if comment else str_opening
|
246
|
-
|
247
|
-
|
248
|
-
# {'afternoonend': '', 'afternoonstart': '', 'comment': 'vendredi : apéro à midi', 'morningend': '11:00', 'morningstart': '08:30'}
|
249
|
-
def get_schedule_for_today(schedule):
|
250
|
-
current_lang = api.portal.get_current_language()[:2]
|
251
|
-
message = translate(_("Open"), target_language=current_lang)
|
252
|
-
comment = schedule.get("comment") or ""
|
253
|
-
morningstart = Decimal(schedule.get("morningstart").replace(":", ".") or "0.00")
|
254
|
-
morningend = Decimal(schedule.get("morningend").replace(":", ".") or "0.00")
|
255
|
-
afternoonstart = Decimal(schedule.get("afternoonstart").replace(":", ".") or "0.00")
|
256
|
-
afternoonend = Decimal(schedule.get("afternoonend").replace(":", ".") or "0.00")
|
257
|
-
|
258
|
-
now_str = Decimal(datetime.now().strftime("%H.%M"))
|
259
|
-
if not morningstart and not morningend and not afternoonstart and not afternoonend:
|
260
|
-
translated_closed = translate(_("Closed"), target_language=current_lang)
|
261
|
-
return (
|
262
|
-
"{} ({})".format(translated_closed, comment)
|
263
|
-
if comment
|
264
|
-
else translated_closed
|
265
|
-
)
|
266
|
-
before_opened = now_str < (morningstart or afternoonstart)
|
267
|
-
if before_opened:
|
268
|
-
translated_open_at = translate(_("Open at "), target_language=current_lang)
|
269
|
-
hour, minute = str(morningstart or afternoonstart).split(".")
|
270
|
-
message = "{} {:02d}:{:02d}".format(translated_open_at, int(hour), int(minute))
|
271
|
-
|
272
|
-
lunch_time = is_now_between(now_str, morningend, afternoonstart)
|
273
|
-
if lunch_time:
|
274
|
-
message = translate(_("Lunch time"), target_language=current_lang)
|
275
|
-
|
276
|
-
after_closed = now_str >= (afternoonend or morningend)
|
277
|
-
if after_closed:
|
278
|
-
message = translate(_("Closed"), target_language=current_lang)
|
279
|
-
return "{} ({})".format(message, comment) if comment else message
|
280
|
-
|
281
|
-
|
282
|
-
def is_now_between(now, start, end):
|
283
|
-
if not start or not end:
|
284
|
-
return False
|
285
|
-
return now >= start and now < end
|
@@ -65,11 +65,11 @@ class ExternalContentView(SectionView):
|
|
65
65
|
|
66
66
|
class EaglebePlugin(Plugin):
|
67
67
|
def __call__(self, parts, config={}):
|
68
|
+
if "app.eaglebe.com" in parts.netloc:
|
69
|
+
return f'<iframe class="eaglebe" src="{parts.geturl()}" scrolling="no" width="{config["width"]}">'
|
70
|
+
#
|
68
71
|
return None
|
69
72
|
|
70
|
-
# if "app.eaglebe.com" in parts.netloc:
|
71
|
-
# return f'<iframe class="eaglebe" src="{parts.geturl()}" scrolling="no" width="{config["width"]}">'
|
72
|
-
|
73
73
|
|
74
74
|
class EllohaPlugin(Plugin):
|
75
75
|
def __call__(self, parts, config={}):
|