oriol carbonell pujolàs
6a2158e179
Update style
2024-01-13 01:20:31 +01:00
oriol carbonell pujolàs
f04f6a3981
Replaced line icons with filled versions
2024-01-13 01:16:16 +01:00
jordi fita mas
976b2bcbcf
Add position to services to be able to manually sort by admins
2024-01-13 01:15:24 +01:00
jordi fita mas
4e126237a0
Replace L10nInput with I18nInput in service
...
locale.Translation and form.L10nInput are no longer used.
The translation type in Postgres is now also useless, and i believe it
was never used, but i keep it because I already have a tag and i can not
just remove it, meaning that dropping it is more trouble that worth it.
2024-01-12 21:06:12 +01:00
jordi fita mas
58c3b607a1
Replace L10nInput with I18nInput in season
2024-01-12 20:26:45 +01:00
jordi fita mas
734178657d
Do not translate legal to the default language
...
It is already in the “default relations”, and there is no need to repeat
them.
2024-01-12 19:57:11 +01:00
jordi fita mas
2b702d6632
Add golang template to initialize x-data for translation in admin
...
Had to add the DefaultLang to legal and location forms in order to use
the same template for all.
2024-01-12 19:51:12 +01:00
jordi fita mas
b6cd2f7693
Use I18nInput instead of L10nInput to translate carousels
2024-01-12 19:33:44 +01:00
jordi fita mas
3d0f7b0dc1
Handle empty array_agg in I18nInput.FillArray
...
array_agg returns [null] instead of [] when it can not find any rows,
thus the range enters the loop, but it fails to convert the null to
string.
2024-01-12 19:28:13 +01:00
jordi fita mas
2cbdc21e53
Fix add_services_carousel_slide’s return type from void to integer
2024-01-12 19:22:55 +01:00
jordi fita mas
2033aa91f8
Tag database’s version 0
2024-01-12 19:16:56 +01:00
jordi fita mas
4d0d7a44ab
Add slides to show parameter to carouselInit template
...
Customer wants four slides in home’s carousel, while keeping three in
the rest of the carousels.
In mobile screen, Oriol told me to always have a single slide, but in
tablet it is the given number minus one.
2024-01-11 21:04:32 +01:00
jordi fita mas
2f1895b71a
Show international phone number with 00 instead of +
...
Customer wants it that way.
2024-01-11 20:56:35 +01:00
jordi fita mas
f28664acce
Replace use of L10NInput with I18nInput for campsite
2024-01-10 21:52:49 +01:00
jordi fita mas
3f46ea3a9a
Add “Menu” next to the trigram symbol (“hamburger”)
2024-01-10 19:41:57 +01:00
jordi fita mas
9a7d7bf0de
Add location information to the demo
2024-01-10 19:22:27 +01:00
jordi fita mas
07223f64d2
Merge remote-tracking branch 'origin/upcoming'
2023-12-22 10:41:59 +01:00
oriol carbonell pujolàs
15761a370d
Change home image background
2023-12-22 10:41:27 +01:00
oriol carbonell pujolàs
a5c35c8da3
Add color to booking link and fix footer image sizes
2023-12-22 10:41:02 +01:00
jordi fita mas
92db4dfff6
Only hide immediate children of label[x-show]
...
Otherwise, it affects the ones inside CKEditor
2023-12-22 04:12:03 +01:00
jordi fita mas
cdf32a0234
Updated translations
2023-12-22 03:32:40 +01:00
jordi fita mas
4d0123def7
Bring back the whole list of options in type page, but in accordion
...
This is how the customer wants it.
2023-12-22 03:27:49 +01:00
jordi fita mas
12d5356455
Add the link to the reservation conditions to the booking form
...
This text must be created in the administration interface, but whatever.
2023-12-22 02:29:06 +01:00
jordi fita mas
03c20fec88
Add management of legal texts
2023-12-22 02:23:18 +01:00
jordi fita mas
ee86b34e93
Do not panic if there is no location information
2023-12-22 00:26:40 +01:00
jordi fita mas
7028997e53
Require user_profile for location
2023-12-22 00:26:23 +01:00
jordi fita mas
bda3507b62
Merge remote-tracking branch 'origin/upcoming'
2023-12-22 00:22:06 +01:00
oriol carbonell pujolàs
8cfa3b1c77
Add bottom border to heading and add camping association images
2023-12-22 00:20:53 +01:00
jordi fita mas
242e2b1c45
Pass the calendar days to the database as strings
...
Otherwise, it “helpfully” transforms the hours to UTC+02:00, in my case,
and returns a day extra, fucking up the request for the next sis months,
skipping almost a whole month.
2023-12-21 22:51:12 +01:00
jordi fita mas
adf87fce94
Add the language switch on the header’s top most in desktop sizes
...
Customer wants the language switch at the same level as the email and
phone links, because that’s what they have on the old website.
2023-12-21 22:39:58 +01:00
jordi fita mas
8b9f3438a0
Merge remote-tracking branch 'origin/upcoming'
2023-12-21 21:19:18 +01:00
oriol carbonell pujolàs
b2b0f035b5
Add style for booking menu item and operture footer section
2023-12-21 21:18:22 +01:00
jordi fita mas
ff6e9497b5
Replace contact page with location
...
Customer does not want a contact page, but a page where they can write
the direction on how to reach the campground, with a Google map embed
instead of using Leaflet, because Google Maps shows the reviews right
in the map.
That means i had to replace the GPS locations with XML fields for the
customer to write. In all four languages.
This time i tried a translation approach inspired by PrestaShop: instead
of opening a new page for each language, i have all languages in the
same page and use AlpineJS to show just a single language. It is far
easier to write the translations, even though you do not have the source
text visible, specially in this section that there is no place for me
to put the language links.
2023-12-21 21:17:04 +01:00
jordi fita mas
84423166e1
Add missing reset client_min_messages to setup_redsys test
2023-12-21 20:28:58 +01:00
jordi fita mas
ca48e1d108
Fix the location of CKEditor’s translations
2023-12-21 20:20:04 +01:00
jordi fita mas
38d07fb662
Add a class to the booking menu item, and move it second to last
...
Oriol needs to give it style, and customer wants it there.
2023-12-21 19:13:10 +01:00
jordi fita mas
5c4ce32143
Do not panic if there is no Redsys payment set up yet
2023-12-21 17:51:39 +01:00
jordi fita mas
47a2b8e480
Add plot and electricity icons
2023-12-21 17:40:06 +01:00
jordi fita mas
c9a6df658f
Add position to campsite type features
2023-12-21 17:33:01 +01:00
jordi fita mas
8d3dd589aa
Allow to “replace” carousel slides
...
We realized that it was impossible to update the image of the home and
services carousels: since i am using the add_{type}_carousel() function,
it actually added a new slide instead of replacing the old one.
We need this one for tomorrow, so i made a workaround creating the
new slide, moving the relevant data from the old slide to the new, and
then removing the old slide. Yuck.
2023-12-21 16:43:46 +01:00
jordi fita mas
a7e62dbe70
Justify nav’s content to the end
...
This is to bring back the old behaviour when header was a flex with
space-between, that pushed the menu as far to the right as possible.
2023-12-21 16:24:39 +01:00
jordi fita mas
d21b34ab40
Merge remote-tracking branch 'origin/upcoming'
2023-12-21 16:22:33 +01:00
oriol carbonell pujolàs
2379733673
Set multiply blending mode to campground map’s zones and trees
2023-12-21 16:19:04 +01:00
oriol carbonell pujolàs
c555ecd432
Update campground map
2023-12-21 11:59:01 +01:00
jordi fita mas
acb1b7ced4
Update debian service description
2023-12-21 01:52:20 +01:00
jordi fita mas
83cf92b8c0
Create the correct camper user in Debian post install
2023-12-21 00:40:01 +01:00
jordi fita mas
7b6bae5062
Add the email and phone numbers at the very top
...
Requested by the customer
2023-12-20 20:39:26 +01:00
jordi fita mas
34081a50f4
Move home carousel to the page’s bottom
...
Customer requested it
2023-12-20 20:24:06 +01:00
jordi fita mas
b6c4eb790f
Add the country name to the footer’s address
...
Customer requested it
2023-12-20 20:22:47 +01:00
jordi fita mas
907d9844d3
Add the booking link to the menu
...
Customer requested it
2023-12-20 20:19:05 +01:00