Go to file
jordi fita mas 471ed9e870 Add the carousel for campsite types
I can not reuse the carousel package because these carousels need the
campsite site’s slug as a first parameters: i can not have a relation
per campsite type, as i do in home and services pages, because the
campsite types are added by administration types; even if i had a
single relation for slides of home and services pages, these would go
in a different relation due to the foreign key to campsite type.

What i could reuse, however, is the Slide and SlideEntry types from
that package, although i had to export carousel.Translation to be usable
from the types package.  I should change that to use locale.Translation,
but this was the easier option, or i would need to change the queries
and templates for carousel package too.

Besides that, they work exactly like the slides in home and services
pages.
2023-10-12 17:43:23 +02:00
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Add the contact page, containing a map with the company location 2023-10-06 21:21:00 +02:00
demo Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
deploy Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
pkg Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
po Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
revert Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
test Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
verify Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
web Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add the carousel for campsite types 2023-10-12 17:43:23 +02:00