Skip to content

Feature: surface support contact, rating and terms on booking page#20

Open
datengraben wants to merge 3 commits into
masterfrom
claude/add-contact-settings-5qLBl
Open

Feature: surface support contact, rating and terms on booking page#20
datengraben wants to merge 3 commits into
masterfrom
claude/add-contact-settings-5qLBl

Conversation

@datengraben

Copy link
Copy Markdown
Owner

Adds five new fields to the General settings tab (phone, email, contact
form URL, service rating URL, booking terms URL) and renders them on
templates/booking-single.php as three new sections — "Need help?",
"Rate our service" and "Booking terms" — between the booking comment
and the action buttons. Each section and each row is hidden when its
underlying setting is empty, so behaviour is unchanged on upgrade
until an operator fills in values.

https://claude.ai/code/session_01KtRTPMpZShfNyQxLK73Qeo

claude added 3 commits April 25, 2026 08:52
Adds five new fields to the General settings tab (phone, email, contact
form URL, service rating URL, booking terms URL) and renders them on
templates/booking-single.php as three new sections — "Need help?",
"Rate our service" and "Booking terms" — between the booking comment
and the action buttons. Each section and each row is hidden when its
underlying setting is empty, so behaviour is unchanged on upgrade
until an operator fills in values.

https://claude.ai/code/session_01KtRTPMpZShfNyQxLK73Qeo
Adds two toggleable funding entries to the General settings tab:
"Fund the local initiative" and "Fund the plugin development", each
with an enable checkbox, customisable label, and URL. The plugin
funding URL defaults to the wielebenwir support page already linked
from the plugin readme. Links render in a new "Support us" wrapper on
the booking confirmation page between the rating and terms sections,
and only when the corresponding checkbox is on AND a URL is set.

https://claude.ai/code/session_01KtRTPMpZShfNyQxLK73Qeo
Wraps both funding links in .cb-button styling so they read as calls
to action rather than inline text. The local-initiative button uses
CB blue (--commonsbooking-color-secondary) and the plugin-development
button uses CB light green (--commonsbooking-color-primary), matching
the existing brand palette in assets/global/sass/partials/_variables.
The plugin button also embeds the CommonsBooking logo at the start of
the label for clearer attribution.

https://claude.ai/code/session_01KtRTPMpZShfNyQxLK73Qeo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants