diff --git a/pkg/campsite/types/public.go b/pkg/campsite/types/public.go index ce8a430..2b0237d 100644 --- a/pkg/campsite/types/public.go +++ b/pkg/campsite/types/public.go @@ -64,8 +64,10 @@ type publicPage struct { *template.PublicPage Slug string Name string + DogsAllowed bool Carousel []*carousel.Slide Prices []*typePrice + DogsPrice string TouristTax string Features []*typeFeature Calendar *season.Calendar @@ -123,12 +125,14 @@ func newPublicPage(ctx context.Context, company *auth.Company, conn *database.Co , coalesce(i18n.facilities, campsite_type.facilities)::text as l10n_facilities , coalesce(i18n.description, campsite_type.description)::text as l10n_description , coalesce(i18n.additional_info, campsite_type.additional_info)::text as l10n_description + , dogs_allowed + , '3.50' as dogs_prices from campsite_type left join campsite_type_i18n as i18n on campsite_type.campsite_type_id = i18n.campsite_type_id and i18n.lang_tag = $1 where slug = $2 and active `, loc.Language, slug) - if err := row.Scan(&page.Name, &page.Spiel, &page.Info, &page.Facilities, &page.Description, &page.AdditionalInfo); err != nil { + if err := row.Scan(&page.Name, &page.Spiel, &page.Info, &page.Facilities, &page.Description, &page.AdditionalInfo, &page.DogsAllowed, &page.DogsPrice); err != nil { return nil, err } if err := conn.QueryRow(ctx, "select to_price(tourist_tax, $1) from company where company_id = $2", company.DecimalDigits, company.ID).Scan(&page.TouristTax); err != nil { diff --git a/po/ca.po b/po/ca.po index 58631b2..87e4172 100644 --- a/po/ca.po +++ b/po/ca.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: camper\n" "Report-Msgid-Bugs-To: jordi@tandem.blog\n" -"POT-Creation-Date: 2024-01-15 01:40+0100\n" +"POT-Creation-Date: 2024-01-15 02:00+0100\n" "PO-Revision-Date: 2023-07-22 23:45+0200\n" "Last-Translator: jordi fita mas \n" "Language-Team: Catalan \n" @@ -158,46 +158,54 @@ msgstr "IVA del 10 % inclòs." msgid "Tourist tax: %s per person aged 16 or over." msgstr "Impost turístic: %s per persona de 16 anys o més." -#: web/templates/public/campsite/type.gohtml:107 +#: web/templates/public/campsite/type.gohtml:102 +msgid "Dogs: %s/night, tied, accompanied, and minimal barking." +msgstr "Gossos: %s/night, lligats, acompanyats i el mínim de lladrucs." + +#: web/templates/public/campsite/type.gohtml:104 +msgid "No dogs allowed." +msgstr "No es permeten gossos." + +#: web/templates/public/campsite/type.gohtml:112 msgctxt "title" msgid "Features" msgstr "Característiques" -#: web/templates/public/campsite/type.gohtml:118 +#: web/templates/public/campsite/type.gohtml:123 msgctxt "title" msgid "Info" msgstr "Informació" -#: web/templates/public/campsite/type.gohtml:122 +#: web/templates/public/campsite/type.gohtml:127 msgctxt "title" msgid "Facilities" msgstr "Equipaments" -#: web/templates/public/campsite/type.gohtml:126 +#: web/templates/public/campsite/type.gohtml:131 msgctxt "title" msgid "Description" msgstr "Descripció" -#: web/templates/public/campsite/type.gohtml:130 +#: web/templates/public/campsite/type.gohtml:135 msgctxt "title" msgid "Additional Information" msgstr "Informació addicional" -#: web/templates/public/campsite/type.gohtml:133 +#: web/templates/public/campsite/type.gohtml:138 msgctxt "time" msgid "Check in" msgstr "Entrada" -#: web/templates/public/campsite/type.gohtml:134 +#: web/templates/public/campsite/type.gohtml:139 msgid "4 p.m. to 9 p.m." msgstr "16 h a 21 h" -#: web/templates/public/campsite/type.gohtml:137 +#: web/templates/public/campsite/type.gohtml:142 msgctxt "time" msgid "Check out" msgstr "Sortida" -#: web/templates/public/campsite/type.gohtml:138 +#: web/templates/public/campsite/type.gohtml:143 msgid "10 a.m." msgstr "10 h" diff --git a/po/es.po b/po/es.po index db3bcbd..6a95bdd 100644 --- a/po/es.po +++ b/po/es.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: camper\n" "Report-Msgid-Bugs-To: jordi@tandem.blog\n" -"POT-Creation-Date: 2024-01-15 01:40+0100\n" +"POT-Creation-Date: 2024-01-15 02:00+0100\n" "PO-Revision-Date: 2023-07-22 23:46+0200\n" "Last-Translator: jordi fita mas \n" "Language-Team: Spanish \n" @@ -158,46 +158,54 @@ msgstr "IVA del 10 % incluido." msgid "Tourist tax: %s per person aged 16 or over." msgstr "Impuesto turístico: %s por persona de 16 años en adelante." -#: web/templates/public/campsite/type.gohtml:107 +#: web/templates/public/campsite/type.gohtml:102 +msgid "Dogs: %s/night, tied, accompanied, and minimal barking." +msgstr "Perros: %s/noche, atados, acompañados y con mínimo de ladrido." + +#: web/templates/public/campsite/type.gohtml:104 +msgid "No dogs allowed." +msgstr "No se permiten perros" + +#: web/templates/public/campsite/type.gohtml:112 msgctxt "title" msgid "Features" msgstr "Características" -#: web/templates/public/campsite/type.gohtml:118 +#: web/templates/public/campsite/type.gohtml:123 msgctxt "title" msgid "Info" msgstr "Información" -#: web/templates/public/campsite/type.gohtml:122 +#: web/templates/public/campsite/type.gohtml:127 msgctxt "title" msgid "Facilities" msgstr "Equipamiento" -#: web/templates/public/campsite/type.gohtml:126 +#: web/templates/public/campsite/type.gohtml:131 msgctxt "title" msgid "Description" msgstr "Descripción" -#: web/templates/public/campsite/type.gohtml:130 +#: web/templates/public/campsite/type.gohtml:135 msgctxt "title" msgid "Additional Information" msgstr "Información adicional" -#: web/templates/public/campsite/type.gohtml:133 +#: web/templates/public/campsite/type.gohtml:138 msgctxt "time" msgid "Check in" msgstr "Entrada" -#: web/templates/public/campsite/type.gohtml:134 +#: web/templates/public/campsite/type.gohtml:139 msgid "4 p.m. to 9 p.m." msgstr "16 h a 21 h" -#: web/templates/public/campsite/type.gohtml:137 +#: web/templates/public/campsite/type.gohtml:142 msgctxt "time" msgid "Check out" msgstr "Salida" -#: web/templates/public/campsite/type.gohtml:138 +#: web/templates/public/campsite/type.gohtml:143 msgid "10 a.m." msgstr "10 h" diff --git a/po/fr.po b/po/fr.po index 75e8f1c..935b43f 100644 --- a/po/fr.po +++ b/po/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: camper\n" "Report-Msgid-Bugs-To: jordi@tandem.blog\n" -"POT-Creation-Date: 2024-01-15 01:40+0100\n" +"POT-Creation-Date: 2024-01-15 02:00+0100\n" "PO-Revision-Date: 2023-12-20 10:13+0100\n" "Last-Translator: Oriol Carbonell \n" "Language-Team: French \n" @@ -159,46 +159,54 @@ msgstr "10 % TVA incluse." msgid "Tourist tax: %s per person aged 16 or over." msgstr "Taxe touristique: %s par personne de 16 ans ou plus." -#: web/templates/public/campsite/type.gohtml:107 +#: web/templates/public/campsite/type.gohtml:102 +msgid "Dogs: %s/night, tied, accompanied, and minimal barking." +msgstr "Chiens : %s/nuit, attachés, accompagnés et aboiements minimes." + +#: web/templates/public/campsite/type.gohtml:104 +msgid "No dogs allowed." +msgstr "Chiens interdits." + +#: web/templates/public/campsite/type.gohtml:112 msgctxt "title" msgid "Features" msgstr "Caractéristiques" -#: web/templates/public/campsite/type.gohtml:118 +#: web/templates/public/campsite/type.gohtml:123 msgctxt "title" msgid "Info" msgstr "Info" -#: web/templates/public/campsite/type.gohtml:122 +#: web/templates/public/campsite/type.gohtml:127 msgctxt "title" msgid "Facilities" msgstr "Installations" -#: web/templates/public/campsite/type.gohtml:126 +#: web/templates/public/campsite/type.gohtml:131 msgctxt "title" msgid "Description" msgstr "Description" -#: web/templates/public/campsite/type.gohtml:130 +#: web/templates/public/campsite/type.gohtml:135 msgctxt "title" msgid "Additional Information" msgstr "Informations Complémentaires" -#: web/templates/public/campsite/type.gohtml:133 +#: web/templates/public/campsite/type.gohtml:138 msgctxt "time" msgid "Check in" msgstr "Arrivée" -#: web/templates/public/campsite/type.gohtml:134 +#: web/templates/public/campsite/type.gohtml:139 msgid "4 p.m. to 9 p.m." msgstr "16 h à 21 h" -#: web/templates/public/campsite/type.gohtml:137 +#: web/templates/public/campsite/type.gohtml:142 msgctxt "time" msgid "Check out" msgstr "Départ" -#: web/templates/public/campsite/type.gohtml:138 +#: web/templates/public/campsite/type.gohtml:143 msgid "10 a.m." msgstr "10 h" diff --git a/web/static/icons.css b/web/static/icons.css index 2ca41f8..5885510 100644 --- a/web/static/icons.css +++ b/web/static/icons.css @@ -62,6 +62,10 @@ background-image: url('data:image/svg+xml,%3Csvg id="uuid-b77ea544-39ce-4a10-bf30-19311f365e87" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity=".2"%3E%3Ccircle cx="50" cy="26.20479" r="6.80482" stroke-width="0"/%3E%3Cpath d="M56.00526,37.54616c1.95319.00032,3.81207.83992,5.10362,2.30513l12.84977,14.56799c1.33103,1.33103,1.33103,3.48905,0,4.82008s-3.48905,1.33103-4.82008,0l-10.06263-8.08356,6.48443,24.64764c.76955,1.71429.00369,3.72785-1.71061,4.4974-1.67971.75403-3.65448.03508-4.45626-1.62237l-9.39066-16.1813-9.39066,16.18131c-.81829,1.69158-2.85293,2.39951-4.54451,1.58123-1.65745-.80178-2.37639-2.77656-1.62237-4.45626l6.48443-24.64764-10.0683,8.07789c-1.33103,1.33103-3.48905,1.33103-4.82008,0s-1.33103-3.48905,0-4.82008l12.85545-14.56233c1.29155-1.46521,3.15043-2.30481,5.10362-2.30513h12.00484Z" stroke-width="0"/%3E%3C/g%3E%3Cpath d="M50,35.00977c-4.85449,0-8.80469-3.9502-8.80469-8.80518s3.9502-8.80469,8.80469-8.80469,8.80469,3.94971,8.80469,8.80469-3.9502,8.80518-8.80469,8.80518ZM50,21.3999c-2.64941,0-4.80469,2.15527-4.80469,4.80469s2.15527,4.80518,4.80469,4.80518,4.80469-2.15576,4.80469-4.80518-2.15527-4.80469-4.80469-4.80469Z" stroke-width="0"/%3E%3Cpath d="M62.43848,82.60693c-1.97852,0-3.86133-1.0957-4.80859-2.98242l-7.62695-13.14258-7.62695,13.14307c-1.32227,2.62744-4.52637,3.71826-7.17969,2.43506-2.59473-1.25488-3.7334-4.26123-2.64746-6.90771l4.9043-18.64307-5.26465,4.22363c-2.11426,2.02393-5.48047,1.99609-7.56152-.08496-2.09277-2.09229-2.1084-5.48682-.04883-7.59961l12.81934-14.521c1.6709-1.89404,4.07715-2.98096,6.60254-2.98096h12.00488c2.52637,0,4.93359,1.08691,6.60352,2.98242l12.81348,14.52588c2.05957,2.11279,2.04395,5.50684-.04883,7.59863-2.08105,2.08105-5.44727,2.10742-7.5625.08496l-5.25586-4.22314,4.90234,18.6377c.52148,1.27246.54004,2.67285.04883,3.96436-.5127,1.34912-1.52051,2.41748-2.83789,3.0083-.72656.32617-1.48438.48145-2.22949.48145ZM50.00293,60.49707c.71289,0,1.37207.37939,1.72949.99609l9.39062,16.18164c.02539.04346.04883.08789.07129.13281.33105.68701,1.1377.98389,1.83594.66846.34277-.15332.60352-.43066.7373-.78076.13281-.3501.12207-.73145-.03125-1.07324-.04492-.1001-.08203-.20361-.11035-.31006l-6.48438-24.64746c-.21973-.83496.12207-1.71631.8457-2.18652.72363-.46973,1.66797-.42188,2.3418.11865l10.0625,8.0835c.05566.04541.11035.09375.16113.14502.54883.54883,1.44336.54883,1.99219,0,.54883-.54932.54883-1.44238,0-1.9917-.0293-.0293-.05859-.05957-.08594-.09082l-12.85059-14.56836c-.91211-1.03467-2.22461-1.62793-3.60352-1.62793h-12.00488c-1.37793,0-2.69141.59326-3.60352,1.62744l-12.85645,14.56348c-.02734.03076-.05566.06104-.08496.09033-.54883.54932-.54883,1.44287,0,1.99219.5332.53125,1.45898.53125,1.99219,0,.05176-.05176.10547-.1001.16211-.146l10.06836-8.07812c.67383-.53955,1.61816-.58691,2.34082-.11719.72461.46973,1.06445,1.35156.8457,2.18604l-6.48438,24.64746c-.02832.10596-.06445.20996-.10938.31006-.31348.69727-.01953,1.50439.66797,1.8374.69824.3374,1.53809.04443,1.87305-.65186.02246-.04492.0459-.08936.07129-.13281l9.39062-16.18164c.35742-.6167,1.0166-.99609,1.72949-.99609Z" stroke-width="0"/%3E%3C/svg%3E'); } +.icon_pet { + background-image: url('data:image/svg+xml,%3Csvg version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cg opacity=".2"%3E%3Cpath d="m68.21 22.865s-20.201 3.5036-35.288 24.811c-8.9832 12.687-9.2516 23.847-8.9561 28.83-.86814.53107-1.7241.98293-2.5218 1.289-6.3291 2.4317-13.643 1.9571-13.712 1.9516-1.7751-.13157-3.3335 1.2125-3.4629 2.9951-.1289 1.7825 1.2118 3.3335 2.995 3.4629.10206.00738.88087.05975 2.1216.05975 3.0514 0 8.8991-.32159 14.38-2.4284 1.6939-.65194 3.4522-1.671 5.1105-2.8078-.02286.17794-.04029.35921-.04029.54315 0 2.2612 1.8328 4.0933 4.0933 4.0933h26.704l4.9666-.0408-.53974-2.159c-.41281-1.6512-1.4721-3.0672-2.9396-3.9294-.9738-.57213-2.0827-.87379-3.2122-.87379h-9.9892c6.7555-2.9574 9.2984-8.8972 6.0148-14.37l5.9255-2.3702 11.542 17.936c.0778.16219.2035.28835.2725.45447 1.2216 2.9412 4.7769 5.3114 8.3643 5.3114h7.0786v-1.387c0-2.0522-1.1688-3.9253-3.0122-4.8272l-1.4523-.49184c-1.5208-.51503-2.7377-1.6734-3.327-3.167l-7.8969-20.016 6.3997-18.472 18.043-4.7924 1.8043-5.3425c.69861-2.0686-.50222-4.2959-2.6143-4.8491l-7.9938-2.2553c-.55247-5.44-5.6836-7.1562-11.479-5.9745-4.7227.96297-7.7694 3.0357-7.4991 7.848.01819.32377.0532.64164.11993.96777z" stroke-width="0"/%3E%3C/g%3E%3Cpath d="m8.3179 88.285c-1.2974 0-2.1143-.05371-2.2646-.06445-2.8814-.20947-5.0552-2.7222-4.8467-5.602.10107-1.396.7417-2.6694 1.8027-3.5859 1.0606-.91553 2.417-1.3608 3.8022-1.2598.06055.00391 6.9717.43408 12.847-1.8242.36035-.13818.75781-.32227 1.1885-.55078-.20117-7.1333 1.3843-17.573 9.3745-28.857 12.936-18.268 29.366-23.826 34.784-25.222.00781-4.8794 3.0713-7.9756 9.1162-9.208 4.228-.8623 7.956-.30762 10.498 1.562 1.5854 1.1665 2.6533 2.8047 3.1357 4.7891l6.7812 1.9136c1.5049.39355 2.8228 1.4297 3.5786 2.832.75635 1.4023.89746 3.0723.3877 4.582l-1.8042 5.3423c-.21484.63525-.7334 1.1206-1.3818 1.293l-17.015 4.519-5.8086 16.768 7.625 19.327c.37402.94824 1.1421 1.6792 2.1079 2.0068l1.4522.49121c.08105.02783.16016.06006.2373.09814 2.5112 1.228 4.1338 3.8281 4.1338 6.6235v1.3872c0 1.1045-.89551 2-2 2h-7.0786c-4.3013 0-8.5552-2.7007-10.166-6.437-.07617-.11279-.14062-.21387-.19678-.31494l-10.605-16.48-2.4058.9624c.8584 2.2905.93311 4.6533.20459 6.9375-.50781 1.5918-1.3906 3.0654-2.5962 4.3701h3.6357c1.4844 0 2.9458.39746 4.2256 1.1499 1.9175 1.1265 3.3272 3.0107 3.8662 5.1685l.54004 2.1587c.14844.59473.01611 1.2251-.35889 1.7095-.37549.48486-.95215.771-1.5654.77588l-4.9668.04053h-26.72c-2.3911 0-4.4648-1.3843-5.4624-3.3936-1.044.59033-2.0415 1.0693-2.9829 1.4316-5.7988 2.229-11.949 2.5615-15.099 2.5615zm-1.897-6.5269c-.28662 0-.56934.10547-.79736.30225-.25195.21729-.40381.51807-.42773.84717-.04883.67969.46484 1.2739 1.145 1.3232.10059.00684 8.2642.59424 15.64-2.2407 1.3892-.53467 2.9697-1.4062 4.6973-2.5903.6499-.44629 1.5024-.46826 2.1748-.05664s1.0405 1.1802.93945 1.9624c-.01221.09375-.02393.18945-.02393.28662 0 1.1543.93945 2.0933 2.0938 2.0933l29.102-.01953c-.32861-.99463-1.0171-1.852-1.9238-2.3848-.66602-.3916-1.4263-.59863-2.1987-.59863h-9.9893c-.94678 0-1.7637-.66357-1.9575-1.5903-.19385-.92627.28809-1.8623 1.1553-2.2417 3.0772-1.3472 5.187-3.3906 5.9409-5.7539.59375-1.8604.30371-3.8506-.83887-5.7549-.30176-.50244-.36768-1.1118-.18066-1.6675.1875-.55518.6084-1.0005 1.1528-1.2183l5.9253-2.3701c.88965-.35449 1.9062-.03076 2.4243.77441l11.542 17.936c.02979.0459.05713.09326.08301.14111.1084.15869.2417.35742.354.625.95068 2.291 3.8135 4.0825 6.5186 4.0825h5.0215c-.1875-.99854-.82422-1.8823-1.7334-2.3662l-1.3159-.44531c-2.083-.70605-3.7398-2.2832-4.5459-4.3281l-7.8965-20.015c-.17529-.44434-.18604-.93701-.0293-1.3887l6.3994-18.472c.21777-.62842.7334-1.1074 1.3765-1.2783l17.005-4.5166 1.4604-4.3252c.15869-.46924.1167-.96777-.11865-1.4038-.23486-.43555-.62793-.74512-1.1074-.87061l-8.0298-2.2651c-.79004-.22266-1.3638-.90576-1.4468-1.7227-.15186-1.4956-.72803-2.5923-1.7607-3.352-1.5967-1.1743-4.2676-1.4907-7.3291-.86523-5.1089 1.042-6.0542 3.0625-5.9014 5.7764.01416.25879.04053.47412.08203.67822.10889.53027-.00195 1.0815-.30664 1.5283-.3042.44678-.77588.75098-1.3081.84375-.09033.01611-4.9814.9165-11.571 4.3027-6.085 3.127-14.916 9.082-22.43 19.693-7.7988 11.014-8.9766 21.064-8.5918 27.556.04346.7373-.32275 1.4385-.95264 1.8242-1.0527.64404-1.9849 1.1186-2.8496 1.4502-6.7783 2.6045-14.508 2.0864-14.584 2.0781-.02881-.00195-.05762-.00293-.08643-.00293zm65.713-2.751c.00049.00098.00098.00244.00146.00342-.00049-.00098-.00098-.00244-.00146-.00342zm-.00147-.00245c.00049.00049.00049.00146.00098.00195-.00049-.00049-.00049-.00146-.00098-.00195z" stroke-width="0"/%3E%3Cpath d="m70.814 32.546c-2.4482 0-4.6987-1.563-5.4985-3.9624l-.12549-.37646c-.3501-1.0478.21582-2.1807 1.2637-2.5303 1.0464-.35156 2.1802.21533 2.5303 1.2637l.12598.37744c.28613.85742 1.1665 1.3682 2.0542 1.1934.93408-.18701 1.706-.86279 2.0146-1.7632l2.3545-6.8686c.35791-1.0449 1.4941-1.602 2.5405-1.2436 1.0449.3584 1.6016 1.4956 1.2436 2.5405l-2.3545 6.8686c-.76855 2.2417-2.6894 3.9233-5.0137 4.3882-.38037.07617-.76025.11279-1.1352.11279z" stroke-width="0"/%3E%3C/svg%3E'); +} + .icon_plot { background-image: url('data:image/svg+xml,%3Csvg id="uuid-fc040cca-7734-405d-930c-f6ba20efbb77" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity=".2"%3E%3Crect x="14.99502" y="14.99502" width="70.00995" height="70.00995" stroke-width="0"/%3E%3C/g%3E%3Cpath d="M85.00488,87.00488h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h5v-6.03906c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,.17969-.02344.354-.06836.51953.04492.16553.06836.33984.06836.51953,0,1.10449-.89551,2-2,2ZM68.00488,87.00488h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM51.00488,87.00488h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM34.00488,87.00488h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM17.00488,87.00488h-2.00977c-1.10449,0-2-.89551-2-2v-4.99023c0-1.10449.89551-2,2-2s2,.89551,2,2l.00977,2.99023c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM14.99512,72.01465c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM85.00488,68.96582c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM14.99512,55.01465c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM85.00488,51.96582c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM14.99512,38.01465c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM85.00488,34.96582c-1.10449,0-2-.89551-2-2v-7c0-1.10449.89551-2,2-2s2,.89551,2,2v7c0,1.10449-.89551,2-2,2ZM14.99512,21.01465c-1.10449,0-2-.89551-2-2v-4.01953c0-1.10449.89551-2,2-2h2.98047c1.10449,0,2,.89551,2,2s-.89551,2-2,2h-.98047v2.01953c0,1.10449-.89551,2-2,2ZM85.00488,17.96582c-.72852,0-1.36523-.38916-1.71484-.9707h-4.31445c-1.10449,0-2-.89551-2-2s.89551-2,2-2h6.0293c1.10449,0,2,.89551,2,2v.9707c0,1.10449-.89551,2-2,2ZM68.97559,16.99512h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM51.97559,16.99512h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2ZM34.97559,16.99512h-7c-1.10449,0-2-.89551-2-2s.89551-2,2-2h7c1.10449,0,2,.89551,2,2s-.89551,2-2,2Z" stroke-width="0"/%3E%3C/svg%3E') } diff --git a/web/static/public.css b/web/static/public.css index 9c0d4c8..a36e8cb 100644 --- a/web/static/public.css +++ b/web/static/public.css @@ -916,6 +916,16 @@ dt { padding: 0 0 0 calc(30px + 1.5rem); } +.campsite_type_prices .pets_warning { + display: flex; + align-items: center; + min-height: 4.8rem; + padding-left: 5.8rem; + background-size: 4.8rem; + background-repeat: no-repeat; + background-position: left center; +} + .campsite_type_calendar { padding: 2.5rem 0; min-width: 0; diff --git a/web/templates/public/campsite/type.gohtml b/web/templates/public/campsite/type.gohtml index 359f67a..f938567 100644 --- a/web/templates/public/campsite/type.gohtml +++ b/web/templates/public/campsite/type.gohtml @@ -98,6 +98,11 @@

{{( gettext "10 % VAT included." )}}

{{printf (gettext "Tourist tax: %s per person aged 16 or over.") (formatPrice $.TouristTax)}}

+ {{ if $.DogsAllowed -}} +

{{printf (gettext "Dogs: %s/night, tied, accompanied, and minimal barking.") (formatPrice $.DogsPrice)}}

+ {{- else -}} +

{{( gettext "No dogs allowed." )}}

+ {{- end }} {{- end }}